swagger 支持二层引用

This commit is contained in:
baichou
2022-06-15 17:51:34 +08:00
parent 30e012015c
commit 6e8276c8ea
+1 -1
View File
@@ -52,7 +52,7 @@ func (SwaggerCommand) Execute(input command.Input) {
Description: "面向工程的框架",
Version: "1.0",
},
Host: "api.nytimes.com",
Host: "github.com/go-home-admin",
Schemes: []string{"https"},
BasePath: "/",
Produces: []string{"application/json"},