Skip to main content

unique-case-insensitive-operation-parameter-name

Overview

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

A duplicate parameter name has been detected, indicating that there are multiple parameters with the same name defined in the operation object. Sine parameter names are compared in a case-insensitive manner, it is important that each parameter name in an operation object has a unique name.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate operation parameter name found, ignoring case sensitivity.
CodeOPENAPI3CODEGEN_L203
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Operations
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi semantic linting apimatic operation parameters parameter name unique duplicate case-insensitive

Suggested Fixes

  • Remove duplicate parameters.
  • Names are compared in a case-insensitive manner to prevent issues during Code Generation.

For More Information