开放接口,修复上游同步不对的问题
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m55s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m55s
This commit is contained in:
@@ -21,6 +21,7 @@ func generateOpenAPIDocs(outputPath string, logger *zap.Logger) {
|
||||
app := fiber.New()
|
||||
|
||||
// 3. 创建所有 Handler(使用 nil 依赖,因为只需要路由结构)
|
||||
// 新增 Handler 必须注册到 openapi.BuildDocHandlers,代理开放接口也从该入口进入文档生成器。
|
||||
handlers := openapi.BuildDocHandlers()
|
||||
|
||||
// 4. 注册所有路由到文档生成器
|
||||
|
||||
Reference in New Issue
Block a user