2 instantiations of OpenApiJsonSchemaContext
Microsoft.AspNetCore.OpenApi (2)
OpenApiJsonSchemaContext.g.cs (1)
24
public static global::Microsoft.AspNetCore.OpenApi.OpenApiJsonSchemaContext Default { get; } = new global::Microsoft.AspNetCore.OpenApi.
OpenApiJsonSchemaContext
(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions));
Services\Schemas\OpenApiSchemaService.cs (1)
34
private readonly OpenApiJsonSchemaContext _jsonSchemaContext =
new
(new(jsonOptions.Value.SerializerOptions));
5 references to OpenApiJsonSchemaContext
Microsoft.AspNetCore.OpenApi (5)
OpenApiJsonSchemaContext.g.cs (1)
24
public static global::Microsoft.AspNetCore.OpenApi.
OpenApiJsonSchemaContext
Default { get; } = new global::Microsoft.AspNetCore.OpenApi.OpenApiJsonSchemaContext(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions));
Schemas\OpenApiJsonSchema.Helpers.cs (2)
35
values.Add((T)JsonSerializer.Deserialize(ref reader, typeof(T),
OpenApiJsonSchemaContext
.Default)!);
80
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)
34
private readonly
OpenApiJsonSchemaContext
_jsonSchemaContext = new(new(jsonOptions.Value.SerializerOptions));