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

JsonSchemaGeneratorSettings

public bool AllowReferencesWithProperties { get; set; }

public bool AlwaysAllowAdditionalObjectProperties { get; set; }

public string[] ExcludedTypeNames { get; set; }

public bool FlattenInheritanceHierarchy { get; set; }

public bool GenerateAbstractProperties { get; set; }

public bool GenerateAbstractSchemas { get; set; }

public bool GenerateCustomNullableProperties { get; set; }

public bool GenerateEnumMappingDescription { get; set; }

public bool GenerateExamples { get; set; }

public bool GenerateKnownTypes { get; set; }

public bool GenerateXmlObjects { get; set; }

public bool IgnoreObsoleteProperties { get; set; }

public bool ResolveExternalXmlDocumentation { get; set; }

public SchemaType SchemaType { get; set; }

public ICollection<ITypeMapper> TypeMappers { get; set; }

public bool UseXmlDocumentation { get; set; }

Initializes a new instance of the JsonSchemaGeneratorSettings class.

Gets the actual computed FlattenInheritanceHierarchy setting based on the global setting and the JsonSchemaFlattenAttribute attribute.

Gets the actual computed GenerateAbstractSchemas setting based on the global setting and the JsonSchemaAbstractAttribute attribute.