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

JsonSchemaReferenceUtilities

public static class JsonSchemaReferenceUtilities
Provides utilities to resolve and set JSON schema references.
public static void UpdateSchemaReferencePaths(object rootObject)

Updates the Reference properties from the available Reference properties with inlining external references.

public static void UpdateSchemaReferencePaths(object rootObject, bool removeExternalReferences, IContractResolver contractResolver)

Updates the Reference properties from the available Reference properties.

public static Task UpdateSchemaReferencesAsync(object rootObject, JsonReferenceResolver referenceResolver, CancellationToken cancellationToken = default)

Updates all Reference properties from the available Reference properties.

public static Task UpdateSchemaReferencesAsync(object rootObject, JsonReferenceResolver referenceResolver, IContractResolver contractResolver, CancellationToken cancellationToken = default)

Updates all Reference properties from the available Reference properties.