/// <summary>Resolves an URL reference.</summary> /// <param name="url">The URL.</param> /// <exception cref="NotSupportedException">The HttpClient.GetAsync API is not available on this platform.</exception> public virtual async Task <IJsonReference> ResolveUrlReferenceAsync(string url) { return(await JsonSchema.FromUrlAsync(url, schema => this).ConfigureAwait(false)); }
/// <summary>Resolves an URL reference.</summary> /// <param name="url">The URL.</param> /// <param name="cancellationToken">The cancellation token</param> /// <exception cref="NotSupportedException">The HttpClient.GetAsync API is not available on this platform.</exception> public virtual async Task <IJsonReference> ResolveUrlReferenceAsync(string url, CancellationToken cancellationToken = default) { return(await JsonSchema.FromUrlAsync(url, schema => this, cancellationToken).ConfigureAwait(false)); }