37 lines
641 B
Go
37 lines
641 B
Go
// 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/"
|
|
)
|
|
|
|
const (
|
|
SwaggerTypeKey = "type"
|
|
)
|
|
|
|
const (
|
|
SwaggerBaseObjectDefinitionName = "object_map"
|
|
)
|