Swagger apis not displaying for some classes

823 views Asked by At

I am using swagger to list apis for a project; however, some do not appear in the swagger-ui, even though I can access the xml file in the browser fine and I have used the @Api and @ApiOperation tags.

As you can see, the about-controller shows up fine. In the class it contains @RequestMapping's for the specified functions and @Api for the title.

I do the exact same for an attribute-controller api and I see the xml on localhost fine. However, the swagger-ui doesnt seem to pick it up.

Here are the specs I am working with from Maven pom.xml file: swagger-core(and annotations)_2.9.1, version 1.2.2. I really appreciate any help!

0

There are 0 answers