no-trailing-leading-spaces-in-additional-header-name
Overview
This rule belongs to the openapi-v3-apimatic-syntax-linting
ruleset and states that:
Name of the additional header in security scheme object should not contain any leading or trailing white-space characters.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Leading/trailing white-space character found for additional header name. |
Code | OPENAPI3APIMATICSYNTAX_L871 |
Type | Linting |
Rule System | Syntax |
Broad Category | OpenAPI Security Schemes |
Products Impacted | Developer Experience Portal |
Tags | openapi3 openapi syntax linting apimatic header name security scheme |
Suggested Fixes
- Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks from additional header name.