Skip to main content

unique-operation-id

Overview

This rule belongs to the openapi-v3-standards-validation ruleset and states that:

The id specified in the Operation Object using the operationId property must be unique among all operations described in the current API specification document.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate operation Id found.
CodeOPENAPI3STANDARDS_V051
TypeValidation
Rule SystemSemantic
Broad CategoryOperations
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation operation id id operation

Suggested Fixes

  • Your operation Id must be unique among ids of all Operation Objects defined in the API document.
  • Ids are compared in a case-sensitive manner.
  • Make sure that the operation Id is not null or empty.

For More Information