no-trailing-leading-spaces-in-schema-properties-key
Overview
This rule belongs to the openapi-v3-apimatic-syntax-linting ruleset and states that:
The keys of a schema properties 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 schema properties key. |
| Code | OPENAPI3APIMATICSYNTAX_L661 |
| Type | Linting |
| Rule System | Syntax |
| Broad Category | OpenAPI Schemas |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi syntax linting apimatic schema property name key leading trailing whitespace character |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks from schema properties key.