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 d6593ab commit 0fb689dCopy full SHA for 0fb689d
src/Microsoft.OpenApi/Reader/V31/JsonSchemaDeserializer.cs
@@ -2,6 +2,7 @@
2
// Licensed under the MIT license.
3
4
using System.Text.Json;
5
+using Json.Schema.OpenApi;
6
using Microsoft.OpenApi.Models;
7
using Microsoft.OpenApi.Reader.ParseNodes;
8
using JsonSchema = Json.Schema.JsonSchema;
@@ -16,6 +17,7 @@ internal static partial class OpenApiV31Deserializer
16
17
{
18
public static JsonSchema LoadSchema(ParseNode node, OpenApiDocument hostDocument = null)
19
20
+ Vocabularies.Register();
21
return JsonSerializer.Deserialize<JsonSchema>(node.JsonNode);
22
}
23
0 commit comments