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
+4
View File
@@ -6,6 +6,10 @@
/AGENTS.md
/.workbuddy
# OpenAPI 本地导出(scripts/export-openapi.*)
/docs/openapi.local.yaml
/docs/openapi.local.json
multilingualField/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/multilingualField/