spring Boot 集成swagger2全过程(代码包含集成Spring Security+ JWT)
1:SpringBoot直接集成1)maven添加Swagger2的依赖io.springfoxspringfox-swagger22.8.0io.springfoxspringfox-swagger-ui2.8.02)application.yml配置spring:resources:add-mappings:truespringfox:documentation:swagger:v2:path