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