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 c3373af commit cb394dcCopy full SHA for cb394dc
src/Microsoft.OpenApi.Workbench/MainModel.cs
@@ -1,4 +1,4 @@
1
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT license.
3
4
using System;
@@ -203,6 +203,9 @@ protected void OnPropertyChanged(string propertyName)
203
/// </summary>
204
internal async Task ParseDocumentAsync()
205
{
206
+ OpenApiReaderRegistry.RegisterReader(OpenApiConstants.Yaml, new OpenApiYamlReader());
207
+ OpenApiReaderRegistry.RegisterReader(OpenApiConstants.Yml, new OpenApiYamlReader());
208
+
209
Stream stream = null;
210
try
211
0 commit comments