<PackageReference Include="NJsonSchema" Version="9.9.5" />

TypeMapperContext

public class TypeMapperContext
The context object for the ITypeMapper interface.

The JsonSchemaGenerator.

The JsonSchemaResolver.

The parent properties (e.g. the attributes on the property).

public Type Type { get; }

The source type.

public TypeMapperContext(Type type, JsonSchemaGenerator jsonSchemaGenerator, JsonSchemaResolver jsonSchemaResolver, IEnumerable<Attribute> parentAttributes)

Initializes a new instance of the TypeMapperContext class.