consts/swagger.go

33 lines
582 B
Go
Raw Normal View History

2024-04-25 16:08:06 +08:00
// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-04-25 16:03
package consts
const (
SwaggerDataTypeInteger = "integer"
SwaggerDataTypeNumber = "number"
SwaggerDataTypeString = "string"
SwaggerDataTypeBoolean = "boolean"
SwaggerDataTypeArray = "array"
SwaggerDataTypeObject = "object"
)
const (
SwaggerDocVersion1 = "1.0"
SwaggerDocVersion2 = "2.0"
SwaggerDocVersion3 = "3.0"
)
const (
SwaggerRefKey = "$ref"
SwaggerRefValPrefix = "#/definitions/"
)
2024-04-25 16:53:43 +08:00
const (
SwaggerTypeKey = "type"
)