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

SchemaResolver

Manager which resolves types to schemas.
public IEnumerable<JsonSchema4> Schemas { get; }

Gets all the schemas.

public SchemaResolver()

public void AddSchema(Type type, bool isIntegerEnumeration, JsonSchema4 schema)

Adds a schema to type mapping.

public JsonSchema4 GetSchema(Type type, bool isIntegerEnumeration)

Gets the schema for a given type.

public bool HasSchema(Type type, bool isIntegerEnumeration)

Determines whether the specified type has a schema.