Skip to main content

unique-operation-callback-key

Overview

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

The key of the Operation Object level callbacks map must be a unique identifier for the Callback Object.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate operation callback identifier found.
CodeOPENAPI3STANDARDS_V056
TypeValidation
Rule SystemSemantic
Broad CategoryOperations
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation key callback operation

Suggested Fixes

  • Remove duplicate entries from the Operation Object callbacks map.
  • Callback keys/identifiers are compared in a case-sensitive manner.

For More Information