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
@Tag and @Tags annotations can be defined in one JAX-RS resources class and used in other classes. In the open source Swagger annotation definition, it is confusing how to refer to tags in different annotations.
Here is the proposal:
Adding the ref @Tag:
org.eclipse.microprofile.openapi.annotations.tags.Tag:
public @interface Tag {
...
Stringref() default"";
}
If ref field is defined in a @Tag, there is no need to define the name field.
Adding the ref s@Tags for easy referencing multiple tags:
@Tag
and@Tags
annotations can be defined in one JAX-RS resources class and used in other classes. In the open source Swagger annotation definition, it is confusing how to refer to tags in different annotations.Here is the proposal:
@Tag
:If
ref
field is defined in a@Tag
, there is no need to define thename
field.@Tags
for easy referencing multiple tags:The text was updated successfully, but these errors were encountered: