更新Swagger配置,修改Host和BasePath
This commit is contained in:
parent
e1beee6478
commit
69b0a4cd83
@ -970,8 +970,8 @@ const docTemplate = `{
|
|||||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||||
var SwaggerInfo = &swag.Spec{
|
var SwaggerInfo = &swag.Spec{
|
||||||
Version: "1.0",
|
Version: "1.0",
|
||||||
Host: "localhost:8080",
|
Host: "100.118.61.45:18090",
|
||||||
BasePath: "/api/v1",
|
BasePath: "/v1/api",
|
||||||
Schemes: []string{},
|
Schemes: []string{},
|
||||||
Title: "Beacon API",
|
Title: "Beacon API",
|
||||||
Description: "This is a sample server for a beacon.",
|
Description: "This is a sample server for a beacon.",
|
||||||
|
Loading…
Reference in New Issue
Block a user