ObjectTypeMapper
Maps .NET type to a generated JSON Schema describing an object.
Gets the mapped type.
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, JsonSchemaResolver, JsonSchema4> schemaFactory)
Initializes a new instance of the ObjectTypeMapper class.
public ObjectTypeMapper(Type mappedType, Func<JsonSchemaGenerator, JsonSchemaResolver, Task<JsonSchema4>> schemaFactory)
Initializes a new instance of the ObjectTypeMapper class.
Gets the schema for the mapped type.