Skip to main content

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.

PropertyValue
EnabledNo
Maximum SeverityError
MessageDuplicate operationId found, ignoring case sensitivity.
CodeOPENAPI3CODEGEN_L192
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Operations
Products ImpactedCode Generation, Developer Experience Portal
Tagscode 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.

For More Information