refactor: 适配 Jackson、API 文档(Knife4j:Spring Doc)自动配置

This commit is contained in:
2023-11-21 22:07:53 +08:00
parent ec1daaf045
commit a86f3a5047
7 changed files with 10 additions and 168 deletions

View File

@@ -17,10 +17,16 @@
<description>公共模块(存放公共工具类,公共配置等)</description>
<dependencies>
<!-- ContiNew Starter 核心依赖 -->
<!-- ContiNew Starter API 文档依赖 -->
<dependency>
<groupId>top.charles7c.continew</groupId>
<artifactId>continew-starter-core</artifactId>
<artifactId>continew-starter-api-doc</artifactId>
</dependency>
<!-- ContiNew Starter Jackson 依赖 -->
<dependency>
<groupId>top.charles7c.continew</groupId>
<artifactId>continew-starter-json-jackson</artifactId>
</dependency>
<!-- ################ Spring Boot 相关 ################ -->
@@ -108,12 +114,6 @@
<artifactId>mica-ip2region</artifactId>
</dependency>
<!-- Knife4j前身是 swagger-bootstrap-ui集 Swagger2 和 OpenAPI3 为一体的增强解决方案) -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
</dependency>
<!-- Redisson不仅仅是一个 Redis Java 客户端) -->
<dependency>
<groupId>org.redisson</groupId>