Annotation Type Tags
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited public @interface Tags
The Tags annotation is a container for @Tag annotations. When used on a method or a type it is treated as if each tag annotation were applied individually.Note: If both
Tag
andTags
annotations are specified on the same method/class, then both tag definitions should be applied to method/class.- See Also:
- OpenAPI Specification Tag Object
-
-
Element Detail
-
value
Tag[] value
An array of Tag annotation objects which hold metadata for the API- Returns:
- an array of Tag annotations
- Default:
- {}
-
-