no-space-in-oauth-flow-scope-key
Overview
This rule belongs to the openapi-v3-codegen-syntax-linting ruleset and states that:
Scope keys in OAuth flow must not contain spaces.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Scope key in oauth flow object contains spaces which is not allowed. |
| Code | OPENAPI3CODEGENSYNTAX_L760 |
| Type | Linting |
| Rule System | Syntax |
| Broad Category | OpenAPI OAuth 2.0 Flows |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | code generation sdks openapi3 openapi syntax linting apimatic oauth flow scope key space |
Suggested Fixes
- Remove spaces from scope keys in OAuth flow.