Annotation Interface OpenAPIGroup
@Repeatable(OpenAPIGroups.class)
@Retention(SOURCE)
@Documented
@Target({PACKAGE,TYPE,METHOD})
public @interface OpenAPIGroup
With this annotation, you can specify one or more groups that this endpoint will be included in,
as well as specify groups from which this endpoint should be excluded. Also, you can set
specific endpoint extensions for each group
- Since:
- 4.10.0
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
names
-
exclude
-
extensions
io.swagger.v3.oas.annotations.extensions.Extension[] extensionsThe list of optional extensions only for these groups.- Returns:
- an optional array of extensions
- Since:
- 6.7.0
- Default:
{}
-