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

JsonSchemaGeneratorSettings

The JSON Schema generator settings.
public EnumHandling DefaultEnumHandling { get; set; }

Gets or sets the default enum handling (default: Integer).

public bool FlattenInheritanceHierarchy { get; set; }

Gets or sets a value indicating whether to flatten the inheritance hierarchy instead of using allOf to describe inheritance (default: false).

public bool GenerateKnownTypes { get; set; }

Gets or sets a value indicating whether to generate schemas for types in KnownTypeAttribute attributes (default: true).

Initializes a new instance of the JsonSchemaGeneratorSettings class.