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
Is your feature request related to a problem? Please describe.
I have a Spring Data REST project where I would like to exclude a specific REST repository from the generated OpenAPI documentation. I do not see an easy way to do this. If this were a controller, I could merely annotate it with @Hidden to achieve this goal.
Describe the solution you'd like
When using springdoc-openapi-data-rest, it would be nice if specific repositories could be disabled using @Hidden in the same manner as applying it to a controller hides the controller. A repository thus annotation would be completely skipped as though it did not exist when generating the OpenAPI description.
Additional context
This feels in line with how other annotations are supported in @Repository classes, for instance @SecurityRequirement and @Tag
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have a Spring Data REST project where I would like to exclude a specific REST repository from the generated OpenAPI documentation. I do not see an easy way to do this. If this were a controller, I could merely annotate it with
@Hidden
to achieve this goal.Describe the solution you'd like
When using
springdoc-openapi-data-rest
, it would be nice if specific repositories could be disabled using@Hidden
in the same manner as applying it to a controller hides the controller. A repository thus annotation would be completely skipped as though it did not exist when generating the OpenAPI description.Additional context
This feels in line with how other annotations are supported in
@Repository
classes, for instance@SecurityRequirement
and@Tag
The text was updated successfully, but these errors were encountered: