I added below swagger dependencies on my web application which based on spring-boot + jersey.
compile('io.springfox:springfox-swagger2:'+springfoxSwaggerVersion)
compile('io.springfox:springfox-petstore:'+springfoxSwaggerVersion)
compile('io.springfox:springfox-swagger-ui:'+springfoxSwaggerVersion)
compile('io.swagger:swagger-jersey2-jaxrs:1.5.8')
compile('io.swagger:swagger-annotations:1.5.8')
compile('org.apache.httpcomponents:httpclient:4.5.1')
I am able to see below output when launched the application. But I am not able to access the link http://localhost:8080/swagger-ui.html. I know that if I am using spring-mvc, it works fine but not work with jersey. Does jersey do something to break it? How can I fix it? What else did I miss here?
2016-03-31 09:39:09.102 INFO 83543 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]