no-trailing-leading-spaces-in-oauth-flow-scope-description
Overview
This rule belongs to the openapi-v3-docsgen-syntax-linting ruleset and states that:
Scope value of an OAuth Flow Object should not contain any leading or trailing white-space characters.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Leading or trailing white-space characters found in oauth flow scope values. |
| Code | OPENAPI3DOCSGENSYNTAX_L870 |
| Type | Linting |
| Rule System | Syntax |
| Broad Category | OpenAPI OAuth 2.0 Flows |
| Products Impacted | Developer Experience Portal |
| Tags | documentation generation documentation docs openapi3 openapi syntax linting apimatic oauth flow scope trailing leading spaces |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks.
For More Information
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauth-flow-object
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-scheme-object
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
- https://docs.apimatic.io/rulesets/overview/