feat(openapi): integrate springdoc and API integration guide

- add springdoc-openapi and expose /v3/api-docs, /v3/api-docs.yaml and Swagger UI
- keep API docs responses unwrapped by replacing the global return handler
- add Chinese @Tag/@Operation/@Parameter docs for file and async task controllers
- add docs/api-integration.md and local export scripts for AI agent consumption
- ignore local OpenAPI snapshots and force LF for shell scripts
This commit is contained in:
Timi
2026-11-25 01:23:30 +08:00
parent dc5f62fd93
commit aefc0ad205
17 changed files with 623 additions and 17 deletions
+2
View File
@@ -0,0 +1,2 @@
# Shell 脚本使用 LF,避免 Windows 下 CRLF 导致执行失败
*.sh text eol=lf