requirements property

Map<String, List<String>>? requirements
getter/setter pair

Each name MUST correspond to a security scheme which is declared in APIComponents.securitySchemes.

If the security scheme is of type APISecuritySchemeType.oauth2 or APISecuritySchemeType.openID, then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty.

Implementation

Map<String, List<String>>? requirements;