Skip to main content

unique-webhooks-key

Overview

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

The key name assigned to the entries in the OpenAPI Object webhooks map must be a unique string to refer to each webhook.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate webhooks key found.
CodeOPENAPI3STANDARDS_V006
TypeValidation
Rule SystemSemantic
Broad CategoryOpenAPI Root Information
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation key webhooks

Suggested Fixes

  • Rename duplicate entries from the webhooks map.
  • Key names of the webhooks are compared in a case-sensitive manner.

For More Information