Annotation Interface OpenAPIExclude
@Repeatable(OpenAPIExcludes.class)
@Retention(SOURCE)
@Documented
@Target({TYPE,ANNOTATION_TYPE})
public @interface OpenAPIExclude
The annotation can be used to exclude io.micronaut.http.annotation.Controller or
io.micronaut.management.endpoint.annotation.Endpoint classes to be processed for OpenAPI definition.
- Since:
- 6.18.0
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
classes
-
classNames
-
packages
String[] packages- Returns:
- packages with classes that should be excluded. NOTE: Currently you can't use wildcard to include subpackages. Need to set every package in list
- Default:
{}
-