Package io.swagger.annotations
Annotation Type ApiKeyAuthDefinition
-
public @interface ApiKeyAuthDefinition
Annotation used to construct ApiKey Auth security definition.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
description
A short description for security scheme.
-
-
-
Element Detail
-
key
String key
Key used to refer to this security definition- Returns:
- key used to refer to this security definition
-
-
-
in
ApiKeyAuthDefinition.ApiKeyLocation in
The location of the API key. Valid values are "query" or "header"- Returns:
-
-
-
name
String name
The name of the header or query parameter to be used.- Returns:
- the name of the header or query parameter to be used.
-
-
-
description
String description
A short description for security scheme.- Returns:
- a short description for security scheme.
- Default:
- ""
-
-