简单三步走
1. 增加dependency
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
2. Run application
3. 浏览器打开
http://localhost:8080/swagger-ui/index.html
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
http://localhost:8080/swagger-ui/index.html
本文标题:Spring boot 通过 springfox-boot-st
本文链接:https://www.haomeiwen.com/subject/rmlwcltx.html
网友评论