@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Repeatable(value=SecuritySchemes.class) @Inherited public @interface SecurityScheme
Modifier and Type | Required Element and Description |
---|---|
SecuritySchemeType |
type
The type of the security scheme.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
bearerFormat
A hint to the client to identify how the bearer token is formatted.
|
String |
description
A short description for security scheme.
|
Extension[] |
extensions
The list of optional extensions
|
OAuthFlows |
flows
Required.
|
SecuritySchemeIn |
in
The location of the API key.
|
String |
name
The name identifying this security scheme
|
String |
openIdConnectUrl
Required.
|
String |
paramName
The name of the header or query parameter to be used.
|
String |
ref
A reference to a SecurityScheme defined in components securitySchemes.
|
String |
scheme
The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC 7235.
|
public abstract SecuritySchemeType type
public abstract String name
public abstract String description
public abstract String paramName
public abstract SecuritySchemeIn in
public abstract String scheme
public abstract String bearerFormat
public abstract OAuthFlows flows
public abstract String openIdConnectUrl
public abstract Extension[] extensions
public abstract String ref
Copyright © 2018. All rights reserved.