Skip to main content

environment-name-uses-title-case

Overview

This rule belongs to the openapi-v3-codegen-linting ruleset and states that:

The environment name in the server configuration of the API should be defined in TitleCase.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageEnvironment name is not in TitleCase format.
CodeOPENAPI3CODEGEN_L090
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi semantic linting apimatic environment name title case

Suggested Fixes

  • Ensure that an environment name is properly formatted with the first letter of each word capitalized, except for articles, conjunctions, and prepositions.

For More Information