no-trailing-leading-spaces-in-info-description
Overview
This rule belongs to the openapi-v3-docsgen-syntax-linting
ruleset and states that:
Description of an Info Object should not contain any leading or trailing white-space characters.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Info object description contains leading/trailing white-space characters. |
Code | OPENAPI3DOCSGENSYNTAX_L050 |
Type | Linting |
Rule System | Syntax |
Broad Category | OpenAPI Info |
Products Impacted | Developer Experience Portal |
Tags | documentation generation documentation docs openapi3 openapi syntax linting apimatic info description trailing leading spaces |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks.