本文檔總結一些與2.X的不一樣html
http://springfox.github.io/springfox/docs/current/git
不一樣於2.X版本, 此時只要添加一個依賴便可github
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> </dependency>
如今改成了spring
http://localhost:8001/swagger-ui/index.htmlui
此時我配置使用的端口號爲8001code