修正 .dockerignore 确保包含 docs.go 文件
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 1m44s
Some checks failed
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Failing after 1m44s
This commit is contained in:
@@ -8,6 +8,7 @@ README.md
|
||||
AGENTS.md
|
||||
CLAUDE.md
|
||||
docs/
|
||||
!cmd/api/docs.go
|
||||
specs/
|
||||
openspec/
|
||||
*.md
|
||||
|
||||
@@ -81,8 +81,7 @@ func main() {
|
||||
initRoutes(app, cfg, result, queueClient, db, redisClient, appLogger)
|
||||
|
||||
// 12. 生成 OpenAPI 文档
|
||||
// TODO: 实现 OpenAPI 文档生成
|
||||
// generateOpenAPIDocs("./openapi.yaml", appLogger)
|
||||
generateOpenAPIDocs("./openapi.yaml", appLogger)
|
||||
|
||||
// 13. 启动服务器
|
||||
startServer(app, cfg, appLogger, cancelWatch)
|
||||
|
||||
Reference in New Issue
Block a user