增加swagger文档ref相关常量定义
This commit is contained in:
@ -21,3 +21,8 @@ const (
|
||||
SwaggerDocVersion2 = "2.0"
|
||||
SwaggerDocVersion3 = "3.0"
|
||||
)
|
||||
|
||||
const (
|
||||
SwaggerRefKey = "$ref"
|
||||
SwaggerRefValPrefix = "#/definitions/"
|
||||
)
|
||||
|
Reference in New Issue
Block a user