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

This commit is contained in:
白茶清欢 2024-04-25 16:38:43 +08:00
parent c101cbfe4c
commit f40760f6ee
1 changed files with 5 additions and 0 deletions

View File

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