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:
21
aioj-backend-common/aioj-backend-common-swagger/pom.xml
Normal file
21
aioj-backend-common/aioj-backend-common-swagger/pom.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>cn.meowrain</groupId>
|
||||
<artifactId>aioj-backend-common</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>cn.meowrain.aioj.backend.common.swagger</groupId>
|
||||
<artifactId>aioj-backend-common-swagger</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user