12 references to OpenApiJsonSchema
Microsoft.AspNetCore.OpenApi (12)
Schemas\OpenApiJsonSchema.cs (3)
16
internal sealed class JsonConverter : JsonConverter<
OpenApiJsonSchema
>
18
public override
OpenApiJsonSchema
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
48
public override void Write(Utf8JsonWriter writer,
OpenApiJsonSchema
value, JsonSerializerOptions options)
Schemas\OpenApiJsonSchema.Helpers.cs (8)
222
var valueConverter = (JsonConverter<
OpenApiJsonSchema
>)options.GetTypeInfo(typeof(
OpenApiJsonSchema
)).Converter;
223
schema.Items = valueConverter.Read(ref reader, typeof(
OpenApiJsonSchema
), options)?.Schema;
278
var props = ReadDictionary<
OpenApiJsonSchema
>(ref reader);
288
var additionalPropsConverter = (JsonConverter<
OpenApiJsonSchema
>)options.GetTypeInfo(typeof(
OpenApiJsonSchema
)).Converter;
289
schema.AdditionalProperties = additionalPropsConverter.Read(ref reader, typeof(
OpenApiJsonSchema
), options)?.Schema;
294
var schemas = ReadList<
OpenApiJsonSchema
>(ref reader);
Schemas\OpenApiJsonSchemaContext.cs (1)
8
[JsonSerializable(typeof(
OpenApiJsonSchema
))]