修正swagger冲突

master
李一帆 2024-08-08 10:25:54 +08:00
parent d458b5f518
commit 86189199fb
2 changed files with 35 additions and 5 deletions

30
pom.xml
View File

@ -131,6 +131,36 @@
<groupId>com.ruoyi</groupId>
<artifactId>integration-ruoyi</artifactId>
<version>3.8.8</version>
<exclusions>
<exclusion>
<artifactId>swagger-annotations</artifactId>
<groupId>io.swagger</groupId>
</exclusion>
<exclusion>
<artifactId>swagger-annotations</artifactId>
<groupId>io.swagger.core.v3</groupId>
</exclusion>
<exclusion>
<artifactId>swagger-models</artifactId>
<groupId>io.swagger</groupId>
</exclusion>
<exclusion>
<artifactId>swagger-models</artifactId>
<groupId>io.swagger.core.v3</groupId>
</exclusion>
<exclusion>
<artifactId>springfox-swagger-common</artifactId>
<groupId>io.springfox</groupId>
</exclusion>
<exclusion>
<artifactId>springfox-swagger-ui</artifactId>
<groupId>io.springfox</groupId>
</exclusion>
<exclusion>
<artifactId>springfox-swagger2</artifactId>
<groupId>io.springfox</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

View File

@ -42,11 +42,11 @@ xss:
# supportMethodsArguments: true
# params: count=countSql
swagger:
# 是否开启swagger
enabled: true
# 请求前缀
pathMapping: /dev-api
#swagger:
# # 是否开启swagger
# enabled: true
# # 请求前缀
# pathMapping: /dev-api
spring:
messages: