Added Springfox Swagger-UI and it's not working, what am I missing?

后端 未结 11 1511
甜味超标
甜味超标 2020-12-02 00:00

Following the instructions here:

http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api

I added these dependencies to my project:



        
11条回答
  •  生来不讨喜
    2020-12-02 00:40

    I also ran into this and the issue was that we had a controller without path mapping (thus mapping to "/"). That was blocking the requests to the swagger-ui resources.

提交回复
热议问题