Documentation ¶
Index ¶
Constants ¶
View Source
const ( SWAGGER_RESOURCES_CONTENT = `[{"location":"/v2/api-docs?group=2.X版本","name":"2.X版本","swaggerVersion":"2.0","url":"/v2/api-docs?group=2.X版本"}]` SWAGGER_RESOURCES_RELATIVE_PATH = constant.ROOT_PATH + "/swagger-resources" )
View Source
const (
API_DOCS_RELATIVE_PATH = constant.ROOT_PATH + "/v2/api-docs"
)
Variables ¶
This section is empty.
Functions ¶
func AddApiDocRouter ¶
@param content string swag int 命令生成的swagger.json文件里的内容
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.