Skip to main content

callback-discriminator-property-pointer-empty-path

Overview

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

The property pointer in the event discriminator must contain a non-empty path after the location prefix $request.body#/. An empty path cannot identify a specific field in the request body.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe event discriminator property pointer has an empty path.
CodeOPENAPI3APIMATIC_L508
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Callbacks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting callback discriminator property pointer path

Suggested Fixes

For More Information