Skip to main content

Interface: ISecurityRequirement

protoc_gen_openapiv2.options.ISecurityRequirement

Properties of a SecurityRequirement.

Implemented by

Properties

securityRequirement

Optional securityRequirement: null | { [k: string]: ISecurityRequirementValue; }

Each name must correspond to a security scheme which is declared in the Security Definitions. If the security scheme is of type "oauth2", then the value is a list of scope names required for the execution. For other security scheme types, the array MUST be empty.