swagger聚合封装

This commit is contained in:
2026-03-12 08:50:28 +08:00
parent 2e273cbded
commit ab7d3de666
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -49,7 +49,6 @@ func updateRefsRecursively(data interface{}, serviceName string) {
}
}
func init() {
http.Httpserver.SetOpenApiPath("/api.json")
http.Httpserver.SetSwaggerPath("/docs") //api文档访问路径
http.Httpserver.SetSwaggerUITemplate(`
<!DOCTYPE html>