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

JsonSchemaGeneratorSettings

The JSON Schema generator settings.
namespace NJsonSchema.Generation { public class JsonSchemaGeneratorSettings { public EnumHandling DefaultEnumHandling { get; set; } public PropertyNameHandling DefaultPropertyNameHandling { get; set; } public bool FlattenInheritanceHierarchy { get; set; } public bool GenerateKnownTypes { get; set; } = true; public NullHandling NullHandling { get; set; } public ITypeNameGenerator TypeNameGenerator { get; set; } public JsonSchemaGeneratorSettings() { DefaultEnumHandling = EnumHandling.Integer; NullHandling = NullHandling.JsonSchema; DefaultPropertyNameHandling = PropertyNameHandling.Default; } } }