Annotation Interface OpenApi.HttpSecurityScheme
- Enclosing class:
OpenApi
@Target(TYPE)
@Retention(CLASS)
@Repeatable(OpenApi.HttpSecuritySchemes.class)
@Documented
public static @interface OpenApi.HttpSecurityScheme
OpenAPI HTTP Security Scheme Object metadata.
Use only on @OpenApi.Document metadata types.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionBearer format.booleanWhether the security scheme is deprecated.Security scheme description.
-
Element Details
-
name
-
description
-
scheme
-
bearerFormat
-
deprecated
boolean deprecatedWhether the security scheme is deprecated.Rendered only for OpenAPI 3.2 output.
- Returns:
- deprecated flag
- Default:
false
-