Package io.micronaut.openapi.annotation
Annotation Type OpenAPIInclude
-
@Repeatable(OpenAPIIncludes.class) @Retention(RUNTIME) @Documented @Target({TYPE,ANNOTATION_TYPE}) public @interface OpenAPIInclude
The annotation can be used to include additional io.micronaut.http.annotation.Controller or io.micronaut.management.endpoint.annotation.Endpoint classes to be processed for OpenAPI definition. This is useful in cases where you cannot alter the source code and wish to generate Open API for already compiled classes.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]classesjava.lang.String[]classNamesio.swagger.v3.oas.annotations.security.SecurityRequirement[]securityA declaration of which security mechanisms can be used across the API.io.swagger.v3.oas.annotations.tags.Tag[]tagsA list of tags used by the specification with additional metadata.java.lang.Stringurijava.lang.Class<?>[]value
-