feat: 添加swagger公共模块并重构API文档依赖

- 新增 aioj-backend-common-swagger 模块用于统一管理API文档相关依赖
- 从 BOM 中移除 knife4j 依赖,改为按需引入到各服务模块
- 更新 auth、gateway、user-service、upms 等服务的 pom.xml 配置
- 显式指定 springdoc-openapi 版本以兼容 Spring Boot 3.5.x
- 添加依赖排除以避免版本冲突

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-08 00:48:37 +08:00
parent d32970ded7
commit 4a4a010f83
10 changed files with 145 additions and 21 deletions

View File

@@ -24,6 +24,7 @@
<module>aioj-backend-ai-service</module>
<module>aioj-backend-auth</module>
<module>aioj-backend-upms</module>
<module>aioj-backend-common/aioj-backend-common-swagger</module>
</modules>
<properties>
<maven.compiler.source>17</maven.compiler.source>