You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0] : Open API 3.0
Content & configuration
We have a Java EE application with Rest Endpoints. We use annotations to mark the endpoints to be picked up by Swagger UI. These endpoints do show up correctly. We use a third party library - Apache's solr-solrj, this library internally uses solr-api as a dependency because of which these APIs also show up in the Swagger documentation.
How can we exclude these Solr APIs from showing up?
Q&A (please complete the following information)
Content & configuration
We have a Java EE application with Rest Endpoints. We use annotations to mark the endpoints to be picked up by Swagger UI. These endpoints do show up correctly. We use a third party library - Apache's solr-solrj, this library internally uses solr-api as a dependency because of which these APIs also show up in the Swagger documentation.
How can we exclude these Solr APIs from showing up?
Maven Dependency:
I have tried
resourcePackages
,resourceClasses
but no luck.We now have removed these APIs manually by overring the default behavior of
filterAPI
method.There has to be a better way to do this. Can you please guide.
Swagger/OpenAPI definition:
# your YAML here
Swagger-UI configuration options:
Screenshots
How can we help?
The text was updated successfully, but these errors were encountered: