This rule belongs to the
apimatic-preliminary-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.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Remove the re-declaration of discriminator.
- Declare discriminator once in the base type only.