SpringBoot使用Swagger2出现Unable to infer base url.

使用spring boot 和swagger2 启动项目后,访问swagger-ui出现上面的情况 解决方式:是要在SpringBoot的启动Application前面加上 @EnableSwagger2注解
相关文章
相关标签/搜索