@Target(value=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.
|
OAuthFlows |
flows
Required.
|
SecuritySchemeIn |
in
The location of the API key.
|
String |
name
The name of the header or query parameter to be used.
|
String |
openIdConnectUrl
Required.
|
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 description
public abstract String name
public abstract SecuritySchemeIn in
public abstract String scheme
public abstract String bearerFormat
public abstract OAuthFlows flows
public abstract String openIdConnectUrl
Copyright © 2017. All rights reserved.