Annotation Interface SecurityRequirements


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited public @interface SecurityRequirements
This object represents an array of security requirements that can be specified for the operation or at definition level. Only one of requirements needs be satisfied
 Example: 
 security: 
   - oauth_implicit: []
   - api_secret: []
 
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    An array of SecurityRequirement annotations that can be specified for the operation or at definition level.
  • Element Details

    • value

      An array of SecurityRequirement annotations that can be specified for the operation or at definition level.
      Returns:
      the array of the SecurityRequirement annotations
      Default:
      {}