Browse Source

!1485 perf: 优化 swagger-annotation 版本冲突
Merge pull request !1485 from 半栈幼儿员/hotfix/swagger

芋道源码 4 months ago
parent
commit
26ee50de88
1 changed files with 6 additions and 0 deletions
  1. 6 0
      yudao-module-ai/pom.xml

+ 6 - 0
yudao-module-ai/pom.xml

@@ -204,6 +204,12 @@
             <groupId>org.springframework.ai</groupId>
             <artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
             <version>${spring-ai.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>io.swagger.core.v3</groupId>
+                    <artifactId>swagger-annotations-jakarta</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <!-- 客户端 -->