no-trailing-leading-spaces-in-example-value
Overview
This rule belongs to the openapi-v3-docsgen-syntax-linting
ruleset and states that:
An example value 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 example value. |
Code | OPENAPI3DOCSGENSYNTAX_L592 |
Type | Linting |
Rule System | Syntax |
Broad Category | OpenAPI Examples |
Products Impacted | Developer Experience Portal |
Tags | documentation generation documentation docs openapi3 openapi syntax linting apimatic example examples value trailing leading spaces |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks.