Skip to content

Commit ad9b1c5

Browse files
committed
fix byte type
1 parent 2bd5d4f commit ad9b1c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,8 +3332,8 @@ class OpenApiBuilder
33323332
'bigint' => ['type' => 'integer', 'format' => 'int64'],
33333333
'varchar' => ['type' => 'string'],
33343334
'clob' => ['type' => 'string'],
3335-
'varbinary' => ['type' => 'string', 'format' => 'binary'],
3336-
'blob' => ['type' => 'string', 'format' => 'binary'],
3335+
'varbinary' => ['type' => 'string', 'format' => 'byte'],
3336+
'blob' => ['type' => 'string', 'format' => 'byte'],
33373337
'decimal' => ['type' => 'string'],
33383338
'float' => ['type' => 'number', 'format' => 'float'],
33393339
'double' => ['type' => 'number', 'format' => 'double'],

src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class OpenApiBuilder
2121
'bigint' => ['type' => 'integer', 'format' => 'int64'],
2222
'varchar' => ['type' => 'string'],
2323
'clob' => ['type' => 'string'],
24-
'varbinary' => ['type' => 'string', 'format' => 'binary'],
25-
'blob' => ['type' => 'string', 'format' => 'binary'],
24+
'varbinary' => ['type' => 'string', 'format' => 'byte'],
25+
'blob' => ['type' => 'string', 'format' => 'byte'],
2626
'decimal' => ['type' => 'string'],
2727
'float' => ['type' => 'number', 'format' => 'float'],
2828
'double' => ['type' => 'number', 'format' => 'double'],

0 commit comments

Comments
 (0)