Spring Boot Starter Swagger Sample 项目地址Spring Boot Starter Swagger 使用说明 运行com.github.taccisum.swagger.starter.sample.App.main() 打开localhost:8080/swagger-ui.html 注意事项 这个示例项目是使用Spring Boot2的,Spring Boot1的用法并无区别,替换掉依赖版本即可。