Skip to main content

maximum-path-item-parameter-name-length

Overview

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

Parameter name within the path item length must not be equal to or exceed 50 characters.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageParameter name violates maximum length restrictions
CodeOPENAPI3CODEGEN_L173
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Path Items
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi semantic linting apimatic path parameter parameters name length 50 characters

Suggested Fixes

  • Shorten the parameter name so that it does not exceed the limit.
  • Try to keep the name under 25 characters.

For More Information