2 instantiations of OpenApiJsonSchemaContext
Microsoft.AspNetCore.OpenApi (2)
OpenApiJsonSchemaContext.g.cs (1)
24public 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)
34private readonly OpenApiJsonSchemaContext _jsonSchemaContext = new(new(jsonOptions.Value.SerializerOptions));
5 references to OpenApiJsonSchemaContext
Microsoft.AspNetCore.OpenApi (5)
OpenApiJsonSchemaContext.g.cs (1)
24public 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)
35values.Add((T)JsonSerializer.Deserialize(ref reader, typeof(T), OpenApiJsonSchemaContext.Default)!); 80values[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)
34private readonly OpenApiJsonSchemaContext _jsonSchemaContext = new(new(jsonOptions.Value.SerializerOptions));