<PackageReference Include="NJsonSchema" Version="11.0.0" />

SystemTextJsonSchemaGeneratorSettings

using Newtonsoft.Json; using System.Runtime.CompilerServices; using System.Text.Json; namespace NJsonSchema.Generation { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class SystemTextJsonSchemaGeneratorSettings : JsonSchemaGeneratorSettings { [JsonIgnore] public JsonSerializerOptions SerializerOptions { get; set; } = new JsonSerializerOptions(); public SystemTextJsonSchemaGeneratorSettings() : base(new SystemTextJsonReflectionService()) { } } }