目前srping-boot 3.x 无法通过 io.springfox:springfox-boot-starte:3.0.0进行整合,可以更换依赖的来进行解决
版本环境
spring-boot:3.0.4
swagger:3
依赖
在pom.xml的dependencies标签里面添加
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.0.4</version>
</dependency>
这个