This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
The discriminator property (indicated by propertyName) should either be defined directly in the same schema in which discriminator is used or be defined in oneOf/anyOf options.
|The property used as a discriminator is not defined in the schema.
|API Transformer, Code Generation, Developer Experience Portal
- Provide a non-empty value for the discriminator property name that should also exist in the schema properties.