JsonSchemaExporter
Functionality for exporting JSON schema from serialization contracts defined in JsonTypeInfo.
public static JsonNode GetJsonSchemaAsNode(this JsonSerializerOptions options, Type type, JsonSchemaExporterOptions exporterOptions = null)
Gets the JSON schema for type as a JsonNode document.
public static JsonNode GetJsonSchemaAsNode(this JsonTypeInfo typeInfo, JsonSchemaExporterOptions exporterOptions = null)
Gets the JSON schema for typeInfo as a JsonNode document.