JsonSchemaGeneratorSettings
The JSON Schema generator settings.
Gets the contract resolver.
Gets the serializer settings.
Gets or sets a value indicating whether to use $ref references even if additional properties are
defined on the object (otherwise allOf/oneOf with $ref is used, default: false).
Will set `additionalProperties` on all added JsonSchemaschema definitions and references(default: false).
Gets or sets the contract resolver.
Gets or sets the default reference type null handling of dictionary value types when no nullability information is available (default: NotNull).
Gets or sets the default enum handling (default: Integer).
Gets or sets the default property name handling (default: Default).
Gets or sets the default reference type null handling when no nullability information is available (default: Null).
Gets or sets the excluded type names (same as JsonSchemaIgnoreAttribute).
Gets or sets a value indicating whether to flatten the inheritance hierarchy instead of using allOf to describe inheritance (default: false).
Gets or sets a value indicating whether to generate abstract properties (i.e. interface and abstract properties. Properties may defined multiple times in a inheritance hierarchy, default: false).
Gets or sets a value indicating whether to generate the x-abstract flag on schemas (default: true).
Gets or sets a value indicating whether to generate x-nullable properties (Swagger 2 only).
Gets or sets a value indicating whether to generate a description with number to enum name mappings (for integer enums only, default: false).
Gets or sets a value indicating whether to generate schemas for types in KnownTypeAttribute attributes (default: true).
Gets or sets a value indicating whether to generate xmlObject representation for definitions (default: false).
Gets or sets a value indicating whether to ignore properties with the ObsoleteAttribute.
Gets or sets the reflection service.
Gets or sets the schema name generator.
Gets or sets the schema processors.
Gets or sets the schema type to generate (default: JsonSchema).
Gets or sets the serializer settings.
Gets or sets the type mappings.
Gets or sets the type name generator.
public JsonSchemaGeneratorSettings()
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.
Gets the contract for the given type.