We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1338905 commit cbc99c1Copy full SHA for cbc99c1
src/Microsoft.OpenApi.Workbench/MainModel.cs
@@ -257,8 +257,7 @@ internal async Task ParseDocumentAsync()
257
}
258
259
260
- var format = OpenApiModelFactory.GetFormat(_inputFile);
261
- var readResult = await OpenApiDocument.LoadAsync(stream, format);
+ var readResult = await OpenApiDocument.LoadAsync(stream, Format.GetDisplayName());
262
var document = readResult.OpenApiDocument;
263
var context = readResult.OpenApiDiagnostic;
264
0 commit comments