Skip to content

Commit

Permalink
Clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Oct 3, 2024
1 parent e958896 commit e0f20d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static async Task<ReadResult> LoadAsync(Stream input, string format, Open

Stream preparedStream;

// Avoid buffering for JSON format
// Avoid buffering for JSON documents
if (input is MemoryStream || format.Equals(OpenApiConstants.Json, StringComparison.OrdinalIgnoreCase))
{
preparedStream = input;
Expand Down

0 comments on commit e0f20d0

Please sign in to comment.