This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
The discriminator property is used to differentiate between different subtypes within a schema. This discriminator property, used for polymorphism, must be of type string.
|The type of the discriminator property defined in the schema must be of type string.
|API Transformer, Code Generation, Developer Experience Portal
- Make sure that the discrimintator property exists in the schema object.
- Make sure that the type of the discriminator property is set to string.