Unable to bring up swagger-ui from spring-boot application

前端 未结 5 935
广开言路
广开言路 2020-12-29 23:14

I have a spring boot application that i am running using embedded tomcat server. I am partially successful in getting springfox-swagger integrated with the app. If i do a

5条回答
  •  孤独总比滥情好
    2020-12-29 23:56

    It worked for me, when i dint override the static path pattern.

    In spring boot application just avoid "spring.mvc.static-path-pattern" from properties file and swagger-ui will works fine.

提交回复
热议问题