unique-case-insensitive-operation-id
Overview
This rule belongs to the openapi-v3-codegen-linting
ruleset and states that:
A duplicate operation id has been detected, indicating that there are multiple operations with the same operation id defined in the path items object. Since operation ids are compared in a case-insensitive manner, it is essential that each operation in a path item object has a unique id.
Property | Value |
---|---|
Enabled | No |
Maximum Severity | Error |
Message | Duplicate operationId found, ignoring case sensitivity. |
Code | OPENAPI3CODEGEN_L192 |
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 operationId unique duplicate case-insensitive |
Suggested Fixes
- Uniquely name your OperationId to avoid this issue.
- OperationId are compared in a case-insensitive manner to prevent code generation issues.