C# Class Swashbuckle.Swagger.SchemaRegistry

Show file Open project: BenjaminAdams/Swashbuckle-blue Class Usage Examples

Public Methods

Method Description
GetOrRegister ( Type type ) : Schema
SchemaRegistry ( JsonSerializerSettings jsonSerializerSettings, IDictionary customSchemaMappings, IEnumerable schemaFilters, IEnumerable modelFilters, bool ignoreObsoleteProperties, string>.Func schemaIdSelector, bool describeAllEnumsAsStrings, bool describeStringEnumsInCamelCase ) : System

Private Methods

Method Description
CreateArraySchema ( JsonArrayContract arrayContract ) : Schema
CreateDefinitionSchema ( Type type ) : Schema
CreateDictionarySchema ( JsonDictionaryContract dictionaryContract ) : Schema
CreateEnumSchema ( Newtonsoft.Json.Serialization.JsonPrimitiveContract primitiveContract, Type type ) : Schema
CreateInlineSchema ( Type type ) : Schema
CreateObjectSchema ( JsonObjectContract jsonContract ) : Schema
CreatePrimitiveSchema ( Newtonsoft.Json.Serialization.JsonPrimitiveContract primitiveContract ) : Schema
CreateRefSchema ( Type type ) : Schema

Method Details

GetOrRegister() public method

public GetOrRegister ( Type type ) : Schema
type System.Type
return Schema

SchemaRegistry() public method

public SchemaRegistry ( JsonSerializerSettings jsonSerializerSettings, IDictionary customSchemaMappings, IEnumerable schemaFilters, IEnumerable modelFilters, bool ignoreObsoleteProperties, string>.Func schemaIdSelector, bool describeAllEnumsAsStrings, bool describeStringEnumsInCamelCase ) : System
jsonSerializerSettings Newtonsoft.Json.JsonSerializerSettings
customSchemaMappings IDictionary
schemaFilters IEnumerable
modelFilters IEnumerable
ignoreObsoleteProperties bool
schemaIdSelector string>.Func
describeAllEnumsAsStrings bool
describeStringEnumsInCamelCase bool
return System