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

使用spring boot 和swagger2 啓動項目後,訪問swagger-ui出現上面的情況 解決方式:是要在SpringBoot的啓動Application前面加上 @EnableSwagger2註解
相關文章
相關標籤/搜索