diff --git a/swagger.go b/swagger.go new file mode 100644 index 0000000..145b184 --- /dev/null +++ b/swagger.go @@ -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" +)