This rule belongs to the
apimatic-post-processing-validation ruleset and states that:
Discriminator mapping value represents the concrete type to which the discriminator value needs to be mapped to. This information is useful for deserialization purposes. If this mapping value is null or empty, the mapping information is considered incomplete and the entry for it will automatically be removed from the discriminator mapping definition.
|Discriminator mapping value is null or empty, therefore, this invalid entry has been removed from the discriminator mapping definition.
|Code Generation, Developer Experience Portal, API Transformer
discriminator mapping value
- Make sure that the discriminator mapping values are not null or empty.