Annotation Type SecurityRequirementEntry
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface SecurityRequirementEntry
The annotation may be applied inSecurityRequirement.combine()to define combined security requirements for the single operation.
-
-
Element Detail
-
name
String name
This name must correspond to a declared SecurityRequirement.- Returns:
- String name
-
-
-
scopes
String[] scopes
If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution. For other security scheme types, the array must be empty.- Returns:
- String array of scopes
- Default:
- {}
-
-