File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ namespace Microsoft.OpenApi.Interfaces
246
246
}
247
247
public interface IStreamLoader
248
248
{
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 );
250
250
}
251
251
}
252
252
namespace Microsoft.OpenApi
@@ -1554,7 +1554,7 @@ namespace Microsoft.OpenApi.Reader.Services
1554
1554
public class DefaultStreamLoader : Microsoft.OpenApi.Interfaces.IStreamLoader
1555
1555
{
1556
1556
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 ) { }
1558
1558
}
1559
1559
}
1560
1560
namespace Microsoft.OpenApi.Services
You can’t perform that action at this time.
0 commit comments