更新swagger枚举值定义

This commit is contained in:
白茶清欢 2024-07-19 14:43:07 +08:00
parent e1e2a2e421
commit 8556a14a13

View File

@ -8,12 +8,19 @@
package consts package consts
const ( const (
SwaggerDataTypeInteger = "integer" SwaggerDataTypeInteger = "integer" // 32 位有符号
SwaggerDataTypeNumber = "number" SwaggerDataTypeLong = "long" // 64 位有符号
SwaggerDataTypeString = "string" SwaggerDataTypeFloat = "number"
SwaggerDataTypeBoolean = "boolean" SwaggerDataTypeDouble = "number"
SwaggerDataTypeArray = "array" SwaggerDataTypeNumber = "number"
SwaggerDataTypeObject = "object" SwaggerDataTypeByte = "string"
SwaggerDataTypeBinary = "binary" // 任意 8 进制序列
SwaggerDataTypeString = "string"
SwaggerDataTypeDate = "string"
SwaggerDataTypePassword = "password"
SwaggerDataTypeBoolean = "boolean"
SwaggerDataTypeArray = "array"
SwaggerDataTypeObject = "object"
) )
const ( const (