You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.OpenApi/Models/OpenApiDocument.cs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -782,7 +782,9 @@ public static async Task<ReadResult> LoadAsync(Stream stream, string? format = n
782
782
/// <param name="settings"></param>
783
783
/// <returns></returns>
784
784
/// <remarks>
785
-
/// OpenAPI semantic and parser errors are returned in the <see cref="ReadResult.Diagnostic"/>; a null or empty input string throws <see cref="ArgumentException"/>.
785
+
/// OpenAPI semantic errors and parser errors that can be represented in the <see cref="ReadResult.Diagnostic"/> are returned.
786
+
/// Parser failures that occur before a result can be created may throw.
787
+
/// <see cref="ArgumentException"/> is thrown when <paramref name="input"/> is null or empty before parsing starts.
0 commit comments