Swagger2 3.0
本文檔總結一些與2.X的不同
1. 文檔位置
http://springfox.github.io/springfox/docs/current/
2. 添加依賴
不同於2.X版本, 此時只要添加一個依賴即可
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</version>
</dependency>
3. SwaggerUI的位置
現在改為了
http://localhost:8001/swagger-ui/index.html
此時我配置使用的端口號為8001