Closed
Description
Short summary (3-5 sentences) describing the issue.
AnyOf is used in the schema for primitive types, regardless of OpenApiSpec version. In spec version 2, AnyOf is not supported
Assemblies affected
Reader
Which assemblies and versions are known to be affected?
Steps to reproduce
Unknown currently, though likely diffing any model with the impacted types (Double, etc.) would should an incorrect serialization on v2.
The simplest set of steps to reproduce the issue. If possible, reference a commit that demonstrates the issue.
Expected result
Correct generation for v2 spec.
What would happen if there wasn't a bug.
Actual result
Unknown
What is actually happening.
Additional detail
*Optional, details of the root cause if known.