Annotation Type 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:
    SecurityRequirement Object
    • Optional Element Summary

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

      • value

        SecurityRequirement[] 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:
        {}