Skip to main content

webhook-discriminator-property-pointer-invalid-location

Overview

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

The property pointer in the event discriminator must reference a location within the request body. Pointers that reference other locations are not supported for webhook event discrimination.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe event discriminator property pointer references an invalid location.
CodeOPENAPI3APIMATIC_L1037
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Webhooks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting webhook discriminator property pointer location

Suggested Fixes

  • Ensure the property pointer references a location within the request body.
  • Only request body locations are supported for webhook event discrimination.

For More Information