swagger-ui 3.0.0版本介绍

Spring Boot Applications
NOTE: Would love feedback to make this better

Remove explicit dependencies on springfox-swagger2
Remove any @EnableSwagger2... annotations
Add the springfox-boot-starter dependency
Springfox 3.x removes dependencies on guava and other 3rd party libraries (not zero dep yet! depends on spring plugin and open api libraries for annotations and models) so if you used guava predicates/functions those will need to transition to java 8 function interfaces.

翻译:

移除springfox-swagger2的依赖冲突
移除@EnableSwagger注解
添加springfox-boot-starter
减少了第三方的依赖

同时访问网页也发生了变化
http://localhost:8080/swagger-ui/index.html

部分内容参考:https://blog.csdn.net/qq_15973399/article/details/107436089
github链接:https://github.com/springfox/springfox

原文地址:https://www.cnblogs.com/arrayblog/p/14148460.html