增加swagger文档相关常量定义
This commit is contained in:
parent
fc4470a2ce
commit
c101cbfe4c
23
swagger.go
Normal file
23
swagger.go
Normal file
@ -0,0 +1,23 @@
|
||||
// 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"
|
||||
)
|
Loading…
Reference in New Issue
Block a user