Proposal: Change format property in Load and Parse to strongly typed value #1952
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
Milestone
Using the following classes we can create a strongly typed experience for the format property in Parse and Load methods on OpenApiDocument.
This will enable calling code like
This will also give us a good place to put code like this that is just used for determining if content is yaml or json
OpenAPI.NET/src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
Lines 260 to 298 in df5d0c7
The text was updated successfully, but these errors were encountered: