解决knife4j不支持springboot3.4
This commit is contained in:
parent
dc558d5534
commit
2747d0e21a
|
@ -32,6 +32,12 @@
|
|||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<!-- 为了解决knife4j不支持springboot3.4 -->
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>2.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
|
|
@ -13,7 +13,7 @@ server:
|
|||
http-only: true
|
||||
|
||||
knife4j:
|
||||
enable: true
|
||||
enable: false
|
||||
setting:
|
||||
custom-code: 500
|
||||
enable-footer-custom: false
|
||||
|
|
Loading…
Reference in New Issue
Block a user