Skip to content

Schema Primitive types use AnyOf (not supported in OpenApiSpec V2) #1004

Closed
@mispeer

Description

@mispeer

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.

Metadata

Metadata

Assignees

Labels

priority:p3Nice to have. Customer impact is very minimalstatus:no-recent-activityNo recent activity on this thread, about to be closedstatus:waiting-for-author-feedbackIssue that we've responded but needs author feedback to closetype:bugA broken experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions