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

This commit is contained in:
zhangdeman committed 2024-04-25 16:38:43 +08:00
1 parent c101cbfe4c
commit f40760f6ee
1 file changed
+5
+5
View File
@@ -21,3 +21,8 @@ const (
SwaggerDocVersion2 = "2.0"
SwaggerDocVersion3 = "3.0"
)
const (
SwaggerRefKey = "$ref"
SwaggerRefValPrefix = "#/definitions/"
)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.