unique-oauth-flow-scopes-key
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
The scope keys defined in the OAuth flow object must be unique.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Duplicate scope key found in the OAuth flow object. |
| Code | OPENAPI3APIMATIC_L913 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI OAuth 2.0 Flows |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting oauth flow scopes key |
Suggested Fixes
- Remove duplicate scope key definitions.
- Make sure that all scope keys are assigned unique names.