@Repeatable(value=OpenAPIIncludes.class) @Retention(value=RUNTIME) @Documented @Target(value={TYPE,ANNOTATION_TYPE}) public @interface OpenAPIInclude
Controller
or
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.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?>[] |
classes |
java.lang.String[] |
classNames |
io.swagger.v3.oas.annotations.security.SecurityRequirement[] |
security
A declaration of which security mechanisms can be used across the API.
|
io.swagger.v3.oas.annotations.tags.Tag[] |
tags
A list of tags used by the specification with additional metadata.
|
java.lang.Class<?>[] |
value |
public abstract java.lang.Class<?>[] value
@AliasFor(member="value") public abstract java.lang.Class<?>[] classes
@AliasFor(member="value") public abstract java.lang.String[] classNames
public abstract io.swagger.v3.oas.annotations.tags.Tag[] tags