Skip to content

Commit 408e793

Browse files
committed
remove extra semi-colon and commented out code
1 parent be3bbf5 commit 408e793

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/Microsoft.OpenApi/Reader/OpenApiJsonReader.cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public async Task<ReadResult> ReadAsync(Stream input,
7171
// Parse the JSON text in the TextReader into JsonNodes
7272
try
7373
{
74-
jsonNode = await JsonNode.ParseAsync(input);;
74+
jsonNode = await JsonNode.ParseAsync(input);
7575
}
7676
catch (JsonException ex)
7777
{
@@ -110,18 +110,6 @@ public ReadResult Read(JsonNode jsonNode,
110110
{
111111
// Parse the OpenAPI Document
112112
document = context.Parse(jsonNode);
113-
114-
// if (settings.LoadExternalRefs)
115-
// {
116-
// var diagnosticExternalRefs = await LoadExternalRefsAsync(document, cancellationToken, settings, format);
117-
// // Merge diagnostics of external reference
118-
// if (diagnosticExternalRefs != null)
119-
// {
120-
// diagnostic.Errors.AddRange(diagnosticExternalRefs.Errors);
121-
// diagnostic.Warnings.AddRange(diagnosticExternalRefs.Warnings);
122-
// }
123-
// }
124-
125113
document.SetReferenceHostDocument();
126114
}
127115
catch (OpenApiException ex)

0 commit comments

Comments
 (0)