Skip to content

Commit

Permalink
backport of commit 133c827
Browse files Browse the repository at this point in the history
  • Loading branch information
AnPucel committed Apr 20, 2022
1 parent f2fb678 commit 17438d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/framework/openapi.go
Expand Up @@ -578,6 +578,9 @@ func convertType(t FieldType) schemaType {
ret.format = "lowercase"
case TypeInt:
ret.baseType = "integer"
case TypeInt64:
ret.baseType = "integer"
ret.format = "int64"
case TypeDurationSecond, TypeSignedDurationSecond:
ret.baseType = "integer"
ret.format = "seconds"
Expand Down

0 comments on commit 17438d8

Please sign in to comment.