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

JsonSchemaDefinitionAppender

Appends a JSON Schema to the Definitions of another JSON Schema.
public object RootObject { get; set; }

Gets or sets the root object to append schemas to.

public JsonSchemaDefinitionAppender(object rootObject, ITypeNameGenerator typeNameGenerator)

Initializes a new instance of the JsonSchemaDefinitionAppender class.

public void Append(JsonSchema4 objectToAppend)

Appends the schema to the root object.