Skip to main content

webhook-extension-group-must-exist-when-referenced

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

When a webhook operation references a webhook group name, that group must be defined in the x-webhook-groups extension at the root level. Referencing a non-existent group will result in an invalid configuration.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe referenced webhook group does not exist in the webhook groups extension.
CodeOPENAPI3APIMATIC_L1051
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Webhooks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting webhook group extension reference

Suggested Fixes

  • Define the referenced webhook group in the x-webhook-groups extension at the root level.
  • Verify that the webhook group name is correctly spelled and matches the definition.

For More Information