Package io.micronaut.openapi.annotation
Annotation Interface OpenAPISecurity
The annotation to include Micronaut security endpoints.
- Author:
- Denis Stepanov
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionio.swagger.v3.oas.annotations.security.SecurityRequirement[]
A declaration of which security mechanisms can be used across the API.io.swagger.v3.oas.annotations.tags.Tag[]
A list of tags used by the specification with additional metadata.
-
Element Details
-
tags
io.swagger.v3.oas.annotations.tags.Tag[] tagsA list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools.- Returns:
- the tags used by the specification with any additional metadata
- Default:
- {}
-
security
io.swagger.v3.oas.annotations.security.SecurityRequirement[] securityA declaration of which security mechanisms can be used across the API.- Returns:
- the array of servers used for this API
- Default:
- {}
-