@Version(value="1.0") @ProviderType

# Package org.eclipse.microprofile.openapi.annotations.security

A set of annotations to represent various security components of an OpenAPI app.

See: Description

Annotation Types Summary
OAuthFlow: Configuration details for a supported OAuth Flow.
OAuthFlows: Allows configuration of the supported OAuth Flows.
OAuthScope: Represents an OAuth scope.
SecurityRequirement: Specifies a security requirement for an operation.
SecurityRequirements: This object represents an array of security requirements that can be specified for the operation or at definition level.
SecurityRequirementsSet: This object represents a map of security requirements that can be specified for the operation or at definition level.
SecurityScheme: Defines a security scheme that can be used by the operations.
SecuritySchemes: This object represents an array of SecurityScheme annotations that can be specified at the definition level.

## Package org.eclipse.microprofile.openapi.annotations.security Description

A set of annotations to represent various security components of an OpenAPI app.

Example usage:

      @Path("/reviews")
      @SecurityScheme(
      securitySchemeName = "reviewoauth2",
      type = SecuritySchemeType.OAUTH2,
      description = "authentication needed to create and delete reviews",
      flows =  @OAuthFlows(
          implicit =  @OAuthFlow(
              authorizationUrl = "https://example.com/api/oauth/dialog",
              scopes =  @OAuthScope(
                  name = "write:reviews",
                  description = "create a review"
              )
          )
       )
     )