Skip to main content

path-item-parameter-name-exceeds-maximum-allowed-length

Overview

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

Parameter name within the path item must not exceed 100 characters. Names exceeding this limit will cause failures in Code Generation, Docs Generation, and Portal Generation.

PropertyValue
EnabledYes
Maximum SeverityError
MessagePath item parameter name exceeds the maximum allowed length of 100 characters.
CodeOPENAPI3CODEGEN_L174
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 100 characters

Suggested Fixes

  • Shorten the parameter name so that it doesn't exceed 100 characters.
  • Try to keep the name under 50 characters for best results.

For More Information