Skip to content

Commit d1aedb4

Browse files
committed
Merge branch 'mk/fix-json-reader' of https://github.com/microsoft/OpenAPI.NET into mk/fix-json-reader
2 parents 01e4f49 + a5e1057 commit d1aedb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Reader/OpenApiJsonReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public async Task<ReadResult> ReadAsync(Stream input,
121121
// Parse the JSON text in the TextReader into JsonNodes
122122
try
123123
{
124-
jsonNode = await JsonNode.ParseAsync(input);
124+
jsonNode = await JsonNode.ParseAsync(input, cancellationToken: cancellationToken).ConfigureAwait(false);
125125
}
126126
catch (JsonException ex)
127127
{

0 commit comments

Comments
 (0)