Skip to main content

webhook-discriminator-property-pointer-invalid-format

Overview

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

The property pointer in the event discriminator must follow a valid JSON pointer format starting with /. An invalid format will prevent the discriminator from correctly identifying the event type field.

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

Suggested Fixes

  • Ensure the property pointer follows a valid JSON pointer format starting with /.
  • Example of a valid property pointer: /body#/eventType.

For More Information