This rule belongs to the
apimatic-post-processing-codegen-validation ruleset and states that:
The discriminator must be declared once and in the base type only.
|Message||Discriminator re-declared in the child type. It has been set to null for code generation purposes.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal|
- Avoid re-declaring a discriminator.
- Declare discriminator once in the base type only.