Swagger使用

整体说明:https://www.jianshu.com/p/349e130e40d5
常用注解:https://blog.csdn.net/wyb880501/article/details/79576784
API表达式:https://blog.csdn.net/zmh458/article/details/78766895
老版本
访问地址:http://localhost:8080/swagger-ui.html

新版本
访问地址:http://localhost:8080/swagger-ui/index.html

/**
* Base url for swagger-ui. For e.g. setting it to /documentation will put swagger-ui
* at /documentation/swagger-ui/index.html
*/
private String baseUrl = "";

SpringBoot集成springfox-swagger2:https://blog.csdn.net/u014231523/article/details/54562695

posted @ 2020-08-13 10:33  小小白兔兔  阅读(51)  评论(0编辑  收藏  举报