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 77f45b0 commit 085c1f1Copy full SHA for 085c1f1
src/Microsoft.OpenApi.Hidi/OpenApiService.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;
@@ -40,6 +40,12 @@ namespace Microsoft.OpenApi.Hidi
40
{
41
internal static class OpenApiService
42
43
+ static OpenApiService()
44
+ {
45
+ OpenApiReaderRegistry.RegisterReader(OpenApiConstants.Yaml, new OpenApiYamlReader());
46
+ OpenApiReaderRegistry.RegisterReader(OpenApiConstants.Yml, new OpenApiYamlReader());
47
+ }
48
+
49
/// <summary>
50
/// Implementation of the transform command
51
/// </summary>
0 commit comments