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

JsonSchemaGeneratorSettings

The JSON Schema generator settings.
namespace NJsonSchema.Generation { public class JsonSchemaGeneratorSettings { public EnumHandling DefaultEnumHandling { get; set; } public bool FlattenInheritanceHierarchy { get; set; } public bool GenerateKnownTypes { get; set; } = true; public JsonSchemaGeneratorSettings() { DefaultEnumHandling = EnumHandling.Integer; } } }