feat: 集成 SpringDoc OpenAPI + Swagger UI 文档页面

- 添加 springdoc-openapi-starter-webmvc-ui 2.5.0
- OpenApiConfig 配置 API 标题、描述、版本、认证方案
- 文档包含 Bearer Token 和 HMAC 签名两种认证说明
- Swagger UI: /swagger-ui.html
- OpenAPI JSON: /v3/api-docs
This commit is contained in:
mediabot-pt
2026-06-29 14:52:43 +08:00
parent 40f1da1e2b
commit bf754d058c
3 changed files with 69 additions and 0 deletions

View File

@@ -47,6 +47,12 @@
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- SpringDoc OpenAPI / Swagger UI -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
</dependency>
</dependencies>
<build>