v2 - discriminator mappings should be dictionary<string, OpenApiSchemaReference> #2140
Labels
priority:p2
Medium. Generally has a work-around and a smaller sub-set of customers is affected. SLA <=30 days
type:enhancement
Enhancement request targeting an existing experience
V2-Enhancement
Milestone
Now that we've fixed the references behaviour, I believe that Discriminator mappings should be a
Dictionary<string, OpenApiSchemaReference>
instead of<string, string>
so currently
tomorrow
There are a number of reasons for doing that:
#/components/schemas
) varies between v2 and v3, and might vary in v4. And we shouldn't expect the user to know about that/have to change it between different serialization versions.Before we do any work on that, I'd like @darrelmiller to chime in.
The text was updated successfully, but these errors were encountered: