This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
A security requirement must only use pre-defined scopes from the security scheme scope definitions.
|Security requirement scope in the corresponding security scheme is not defined.
|OpenAPI Security Requirements
|API Transformer, Code Generation, Developer Experience Portal
- Make sure that the security requirement uses only the pre-defined scopes from the scope definitions of the corresponding security scheme.
- Make sure that the scope name used in the security requirement matches the name specified for the scope in the security scheme definition.