JsonTypeDescription
Gets JSON information about a .NET type.
Gets the format string.
Gets a value indicating whether this is an any type (e.g. object).
Gets a value indicating whether the type is an array.
Gets a value indicating whether this is a complex type (i.e. object, dictionary or array).
Gets a value indicating whether the object is a generic dictionary.
Gets a value indicating whether the type is an enum.
Gets or sets a value indicating whether the type is nullable.
Gets the type.
public static JsonTypeDescription Create(Type type, JsonObjectType jsonType, bool isNullable, string format)
Creates a description for a primitive type or object.
public static JsonTypeDescription CreateForDictionary(Type type, JsonObjectType jsonType, bool isNullable)
Creates a description for a dictionary.
public static JsonTypeDescription CreateForEnumeration(Type type, JsonObjectType jsonType, bool isNullable)
Creates a description for an enumeration.
Applies the type and format to the given schema.
Specifices whether the type requires a reference.