server-name-uses-title-case
Overview
This rule belongs to the openapi-v3-codegen-linting
ruleset and states that:
The server name in the server configuration of the API should be defines in TitleCase.
Property | Value |
---|---|
Enabled | No |
Maximum Severity | Warning |
Message | Server name is not in TitleCase format. |
Code | OPENAPI3CODEGEN_L094 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Servers |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | code generation sdks openapi3 openapi semantic linting apimatic server name title case |
Suggested Fixes
- Ensure that the server name is properly formatted with the first letter of each word capitalized, except for articles, conjunctions, and prepositions.