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