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
+5
View File
@@ -195,6 +195,11 @@
<artifactId>timi-spring</artifactId>
<version>0.0.20</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>