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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM