<PackageReference Include="System.Text.Json" Version="9.0.0-preview.7.24405.7" />

JsonSchemaExporterOptions

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