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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Duplicate operation parameter name found, ignoring case sensitivity. |
| Code | OPENAPI3CODEGEN_L203 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Operations |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | code 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.