no-trailing-leading-spaces-in-oauth-flow-scope-name
Overview
This rule belongs to the openapi-v3-apimatic-syntax-linting ruleset and states that:
The name of an OAuthFlow Scope should not contain any leading or trailing white-space characters.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Leading or trailing white-space character found in OAuth Flow scope name. |
| Code | OPENAPI3APIMATICSYNTAX_L910 |
| Type | Linting |
| Rule System | Syntax |
| Broad Category | OpenAPI OAuth 2.0 Flows |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi syntax linting apimatic oauth flow scope leading trailing whitespace character |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks from OAuthFlow Scope name.