Swagger Gurus,



down votefavorite 
<http://stackoverflow.com/questions/39231914/swagger-ui-does-not-list-any-of-the-controller-end-points-though-i-am-able-to-se#>

I am not able to get my Swagger UI to work with my project. Swagger UI 
comes up fine but it does not list any of my REST controllers.

I am using SPRING 4.2.6.RELEASE and Swagger 2.5.0 . My rest services are 
deployed to Tomcat 7.0.54 .

When Tomcat 7.0.54 comes up, it is able to fetch the swagger end points. I 
am able to hit the endpoint v2/api-docs that fetches the json messages. I 
am also able to hit the swagger-ui but I dont see any controllers listed. 
The dropdowns are empty, as below.


Please can you tell me whether any further configuration is required. I 
gather that swagger annotations are not required and spring annotations 
will automatically be picked up, is that correct? Do I need to enter any 
url to get the controllers or should it automatically show up? Please can 
you advise how to resolve it?

*Maven dependency for Swagger* 
io.springfox springfox-swagger2 2.5.0 
io.springfox springfox-swagger-ui 2.5.0


For more details regarding the code, please can you check the below 
stackoverflow link?

http://stackoverflow.com/questions/39231914/swagger-ui-does-not-list-any-of-the-controller-end-points-though-i-am-able-to-se


Thanks

Kar


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to