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

JsonSchemaResolver

Manager which resolves types to schemas and appends missing schemas to the root object.
public IEnumerable<JsonSchema> Schemas { get; }

Gets all the schemas.

public JsonSchemaResolver(object rootObject, JsonSchemaGeneratorSettings settings)

Initializes a new instance of the JsonSchemaResolver class.

public virtual void AddSchema(Type type, bool isIntegerEnumeration, JsonSchema schema)

Adds a schema to type mapping.

public JsonSchema 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.