增加swagger文档ref相关常量定义

This commit is contained in:
白茶清欢 2024-04-25 16:38:43 +08:00
parent c101cbfe4c
commit f40760f6ee

View File

@ -21,3 +21,8 @@ const (
SwaggerDocVersion2 = "2.0"
SwaggerDocVersion3 = "3.0"
)
const (
SwaggerRefKey = "$ref"
SwaggerRefValPrefix = "#/definitions/"
)