4 references to OpenApiJsonSchemaContext
Microsoft.AspNetCore.OpenApi (4)
Schemas\OpenApiJsonSchema.Helpers.cs (2)
33values.Add((T)JsonSerializer.Deserialize(ref reader, typeof(T), OpenApiJsonSchemaContext.Default)!); 78values[key] = (T)JsonSerializer.Deserialize(ref reader, typeof(T), OpenApiJsonSchemaContext.Default)!;
Schemas\OpenApiSchemaJsonOptions.cs (1)
14options.SerializerOptions.TypeInfoResolverChain.Insert(0, OpenApiJsonSchemaContext.Default);
Services\Schemas\OpenApiSchemaService.cs (1)
35private readonly OpenApiJsonSchemaContext _jsonSchemaContext = new OpenApiJsonSchemaContext(new(jsonOptions.Value.SerializerOptions));