Package io.micronaut.openapi.annotation
Annotation Interface OpenAPIGroupInfo
@Repeatable(OpenAPIGroupInfos.class)
@Retention(SOURCE)
@Documented
@Target({PACKAGE,TYPE,ANNOTATION_TYPE})
public @interface OpenAPIGroupInfo
With this annotation, you can specify the OpenAPIDefinition description that will be inserted
into a specific swagger file, only for this group. Thus, you can make different descriptions
for different groups.
- Since:
- 4.10.0
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
info
io.swagger.v3.oas.annotations.OpenAPIDefinition info- Returns:
- OpenAPI object describing information about group.
-
-
-
value
- Returns:
- The names of the OpenAPi groups.
- Default:
- {}
-
names
- Returns:
- The names of the OpenAPi groups.
- Default:
- {}
-