JsonSchemaExporterOptions
Configures the behavior of the JsonSchemaExporter APIs.
using System.Runtime.CompilerServices;
using System.Text.Json.Nodes;
namespace System.Text.Json.Schema
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class JsonSchemaExporterOptions
{
public static JsonSchemaExporterOptions Default { get; } = new JsonSchemaExporterOptions();
public bool TreatNullObliviousAsNonNullable { get; set; }
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
public Func<JsonSchemaExporterContext, JsonNode, JsonNode> TransformSchemaNode {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
set;
}
}
}