You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Schema Primitive types use AnyOf (not supported in OpenApiSpec V2) #1004
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.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Activity
darrelmiller commentedon Feb 16, 2022
Can you provide an example CSDL that causes the problem you are describing?
microsoft-github-policy-service commentedon Mar 3, 2025
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.