PrimitiveTypeMapper
Maps .NET type to a generated JSON Schema describing a primitive value.
Gets the mapped type.
Gets a value indicating whether to use a JSON Schema reference for the type.
Initializes a new instance of the PrimitiveTypeMapper class.
public Task GenerateSchemaAsync<TSchemaType>(TSchemaType schema, JsonSchemaGenerator schemaGenerator, JsonSchemaResolver schemaResolver, IEnumerable<Attribute> parentAttributes) where TSchemaType : JsonSchema4
Gets the schema for the mapped type.