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