I use Swagger UI to display API documentation. By default, it displays the \"Models\" section at the bottom:
How to hide it?
In Docket bean just add new
Docket(DocumentationType.SWAGGER_2).ignoredParameterTypes(YourClass.class,YourAnother.class)
I hope its helpful