2021
10-12
10-12
springboot更新配置Swagger3的一些小技巧
1.引入依赖,版本3.0.0只引入一个即可<dependency><groupId>io.springfox</groupId><artifactId>springfox-boot-starter</artifactId><version>3.0.0</version></dependency>2.配置类SwaggerConfigpackageorg.fh.config;importorg.springframework.context.annotation.Bean;importorg.springframework.context.annotation.Configuration;importspringfox.documentation.builders...
继续阅读 >