Skip to content

Commit 3afb8db

Browse files
committed
chore: updates public api surface
1 parent 1cc7c73 commit 3afb8db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ namespace Microsoft.OpenApi.Interfaces
246246
}
247247
public interface IStreamLoader
248248
{
249-
System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri);
249+
System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri, System.Threading.CancellationToken cancellationToken = default);
250250
}
251251
}
252252
namespace Microsoft.OpenApi
@@ -1554,7 +1554,7 @@ namespace Microsoft.OpenApi.Reader.Services
15541554
public class DefaultStreamLoader : Microsoft.OpenApi.Interfaces.IStreamLoader
15551555
{
15561556
public DefaultStreamLoader(System.Uri baseUrl) { }
1557-
public System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri) { }
1557+
public System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri, System.Threading.CancellationToken cancellationToken = default) { }
15581558
}
15591559
}
15601560
namespace Microsoft.OpenApi.Services

0 commit comments

Comments
 (0)