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