更新swagger枚举值定义
This commit is contained in:
parent
e1e2a2e421
commit
8556a14a13
@ -8,9 +8,16 @@
|
|||||||
package consts
|
package consts
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SwaggerDataTypeInteger = "integer"
|
SwaggerDataTypeInteger = "integer" // 32 位有符号
|
||||||
|
SwaggerDataTypeLong = "long" // 64 位有符号
|
||||||
|
SwaggerDataTypeFloat = "number"
|
||||||
|
SwaggerDataTypeDouble = "number"
|
||||||
SwaggerDataTypeNumber = "number"
|
SwaggerDataTypeNumber = "number"
|
||||||
|
SwaggerDataTypeByte = "string"
|
||||||
|
SwaggerDataTypeBinary = "binary" // 任意 8 进制序列
|
||||||
SwaggerDataTypeString = "string"
|
SwaggerDataTypeString = "string"
|
||||||
|
SwaggerDataTypeDate = "string"
|
||||||
|
SwaggerDataTypePassword = "password"
|
||||||
SwaggerDataTypeBoolean = "boolean"
|
SwaggerDataTypeBoolean = "boolean"
|
||||||
SwaggerDataTypeArray = "array"
|
SwaggerDataTypeArray = "array"
|
||||||
SwaggerDataTypeObject = "object"
|
SwaggerDataTypeObject = "object"
|
||||||
|
Loading…
Reference in New Issue
Block a user