Skip to main content

no-coordinating-conjunctions-in-schema-component-key

Overview

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

When defining schemas in the component object, the name of the schema should be descriptive and concise. Avoid using coordinating conjunctions such as and, but or for in the schema name. This helps keep the schema name clear and to the point, making it easier to understand and use.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageSchema component Key should not contain coordinating conjunctions.
CodeOPENAPI3CODEGEN_L134
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Components
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi semantic linting apimatic components schemas key coordinating conjunction

Suggested Fixes

  • Remove all coordinating conjuctions from the schema key present in components object.

For More Information