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
I expect tags to be Profile 1 Resource/Profile 2 Resource not Search Resource
@Tag annotations are OK when placed at Resource class level or at Operation method level (a method returning content).
But they are not OK when placed at Sub-resource producer method level (a method returning a sub-resource).
Is it possible to configure tags using annotations when using sub-resource producer methods?
I am using Quarkus 3.2 with quarkus-smallrye-openapi extension.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to place
@Tag
annotations from on a method producing a sub-resource:SearchResource
is JAX-RS resource class containing several operations.The generated OpenAPI contracts contains:
I expect tags to be Profile 1 Resource/Profile 2 Resource not Search Resource
@Tag
annotations are OK when placed at Resource class level or at Operation method level (a method returning content).But they are not OK when placed at Sub-resource producer method level (a method returning a sub-resource).
Is it possible to configure tags using annotations when using sub-resource producer methods?
I am using Quarkus 3.2 with quarkus-smallrye-openapi extension.
Beta Was this translation helpful? Give feedback.
All reactions