Skip to main content

webhook-discriminator-property-pointer-points-to-valid-property

Overview

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

The property pointer in the event discriminator must reference an existing property in the request body schema. If the pointer does not resolve to a valid property, the event discrimination will fail.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe event discriminator property pointer does not reference a valid property.
CodeOPENAPI3APIMATIC_L1040
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Webhooks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting webhook discriminator property pointer valid schema

Suggested Fixes

  • Ensure the property pointer references an existing property in the request body schema.
  • Verify the JSON pointer path matches the structure of the request body schema.

For More Information