unique-security-requirement-scopes
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
Each security requirement scope within a security scheme represents a unique permission or access level. Therefore, duplicate entries for security requirement scopes are not allowed.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Duplicate entry for security requirement scope found. |
| Code | OPENAPI3APIMATIC_L932 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Security Requirements |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting unique duplicate security requirement scope |
Suggested Fixes
- Remove any duplicate scope from the security requirement object.