Skip to main content
Doctorine reference
On this pageOverview

A union discriminator was inferred

A union discriminator was inferred

output.union.discriminator-inferred

Category
Generated output
Default severity
Note
Applies to
API specification
Default outcome
Informational
Recommended action
No action needed
Grouped by
Defect code

How to fix it

  1. No action needed — declare the discriminator explicitly in the spec if the inference should be contractual.
Documentation menu