NJsonSchema.Generation.JsonSchemaGeneratorSettings
The JSON Schema generator settings.
namespace NJsonSchema.Generation
{
public abstract class JsonSchemaGeneratorSettings : IXmlDocsSettings
{
public ReferenceTypeNullHandling DefaultReferenceTypeNullHandling { get; set; }
public ReferenceTypeNullHandling DefaultDictionaryValueReferenceTypeNullHandling { get; set; }
public bool GenerateAbstractProperties { get; set; }
public bool FlattenInheritanceHierarchy { get; set; }
public bool GenerateAbstractSchemas { get; set; }
public bool GenerateKnownTypes { get; set; }
public bool GenerateXmlObjects { get; set; }
public bool IgnoreObsoleteProperties { get; set; }
public bool AllowReferencesWithProperties { get; set; }
public bool GenerateEnumMappingDescription { get; set; }
public bool AlwaysAllowAdditionalObjectProperties { get; set; }
public bool GenerateExamples { get; set; }
public SchemaType SchemaType { get; set; }
public string[] ExcludedTypeNames { get; set; }
public bool UseXmlDocumentation { get; set; }
public bool ResolveExternalXmlDocumentation { get; set; }
public XmlDocsFormattingMode XmlDocumentationFormatting { get; set; }
public ITypeNameGenerator TypeNameGenerator { get; set; }
public ISchemaNameGenerator SchemaNameGenerator { get; set; }
public IReflectionService ReflectionService { get; set; }
public ICollection<ITypeMapper> TypeMappers { get; set; }
public ICollection<ISchemaProcessor> SchemaProcessors { get; }
public bool GenerateCustomNullableProperties { get; set; }
public JsonSchemaGeneratorSettings(IReflectionService reflectionService);
public bool GetActualGenerateAbstractSchema(Type type);
public bool GetActualFlattenInheritanceHierarchy(Type type);
}
}