ObjectTypeMapper
Maps .NET type to a generated JSON Schema describing an object.
Gets a value indicating whether to use a JSON Schema reference for the type.
Initializes a new instance of the ObjectTypeMapper class.
public ObjectTypeMapper(Type mappedType, Func<JsonSchemaGenerator, ISchemaResolver, JsonSchema4> schemaFactory)
Initializes a new instance of the ObjectTypeMapper class.
public virtual TSchemaType GetSchema<TSchemaType>(JsonSchemaGenerator schemaGenerator, ISchemaResolver schemaResolver) where TSchemaType : JsonSchema4