mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-10-22 18:57:20 +08:00
refactor(api-doc): 将默认API文档UI从Knife4j替换为NextDoc4j
- 移除对Knife4j相关依赖和资源配置 - 新增NextDoc4j依赖及版本管理 - 重构BaseEnumParameterHandler以继承ModelResolver - 添加ObjectMapper注入支持枚举参数解析 - 调整资源处理器配置移除旧版静态资源配置 - 删除自定义OpenApiHandler及相关构建器配置 - 更新YAML配置文件启用NextDoc4j并移除Knife4j设置
This commit is contained in:
@@ -22,10 +22,11 @@
|
||||
<artifactId>continew-starter-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Knife4j(前身是 swagger-bootstrap-ui,集 Swagger2 和 OpenAPI3 为一体的增强解决方案) -->
|
||||
<!--NextDoc4j (现代化 API 文档 UI 工具 全面替代 Swagger UI) -->
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
|
||||
<groupId>top.nextdoc4j</groupId>
|
||||
<artifactId>nextdoc4j-springboot3-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
Reference in New Issue
Block a user