Skip to content

Commit 9bc148b

Browse files
authored
fix(column): If column type is int, it will not be properly formatted to swagger json. (#26)
1 parent 702f6fc commit 9bc148b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Definitions/DefinitionGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ private function convertDBTypeToSwaggerType(string $dbType): array
304304
];
305305
break;
306306
case 'serial':
307+
case 'int':
307308
case 'integer':
308309
case 'mediumint':
309310
case 'smallint':

0 commit comments

Comments
 (0)