@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
@Inherited
public @interface SecurityRequirements
SecurityRequirement
annotations.
Note that each SecurityRequirement
annotation is equivalent to a SecurityRequirementsSet
annotation containing only that annotation.
Example: security: - oauth_implicit: [] - api_secret: []
Modifier and Type | Optional Element and Description |
---|---|
SecurityRequirement[] |
value
An array of SecurityRequirement annotations
|
public abstract SecurityRequirement[] value