[VAULT-5887] TypeInt64 support added to OpenApi Spec generation (#15104)

Adding handling for TypeInt64 to OAS types
This commit is contained in:
AnPucel
2022-04-22 15:37:12 -07:00
committed by GitHub
parent ca9f175126
commit d569b23c1b
4 changed files with 15 additions and 0 deletions

View File

@@ -613,6 +613,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"