修正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> <groupId>com.ruoyi</groupId>
<artifactId>integration-ruoyi</artifactId> <artifactId>integration-ruoyi</artifactId>
<version>3.8.8</version> <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> </dependency>
</dependencies> </dependencies>

View File

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