Package io.swagger.annotations
Annotation Type SecurityDefinition
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface SecurityDefinition
An aggregation of all security definitions.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ApiKeyAuthDefinition[]apiKeyAuthDefinitionsAPI Key security definition objectsApiKeyAuthDefinition[]apiKeyAuthDefintionsDeprecated.UseapiKeyAuthDefinitions()insteadBasicAuthDefinition[]basicAuthDefinionsDeprecated.UsebasicAuthDefinitions()insteadBasicAuthDefinition[]basicAuthDefinitionsBasic auth security definition objectsOAuth2Definition[]oAuth2DefinitionsOAuth security definition objects
-
-
-
Element Detail
-
oAuth2Definitions
OAuth2Definition[] oAuth2Definitions
OAuth security definition objects- Returns:
- OAuth security definition objects
- Default:
- {}
-
-
-
apiKeyAuthDefintions
@Deprecated ApiKeyAuthDefinition[] apiKeyAuthDefintions
Deprecated.UseapiKeyAuthDefinitions()instead- Default:
- {}
-
-
-
apiKeyAuthDefinitions
ApiKeyAuthDefinition[] apiKeyAuthDefinitions
API Key security definition objects- Returns:
- API Key security definition objects
- Default:
- {}
-
-
-
basicAuthDefinions
@Deprecated BasicAuthDefinition[] basicAuthDefinions
Deprecated.UsebasicAuthDefinitions()instead- Default:
- {}
-
-
-
basicAuthDefinitions
BasicAuthDefinition[] basicAuthDefinitions
Basic auth security definition objects- Returns:
- basic auth security definition objects
- Default:
- {}
-
-