<PackageReference Include="System.Text.Json" Version="9.0.1" />

JsonSchemaExporterOptions

public sealed class 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; } } }