Skip to content

Commit bd39460

Browse files
committed
modify to give more meaningful comments
1 parent 401072c commit bd39460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.OpenApi/Validations/OpenApiElementValidator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static bool Validate<T>(this T element) where T : IOpenApiElement
2626
}
2727

2828
/// <summary>
29-
/// Validate the Open API element.
29+
/// Validate the Open API element and output the whole validation errors.
3030
/// </summary>
3131
/// <typeparam name="T">The Open API element type.</typeparam>
3232
/// <param name="element">The Open API element.</param>
@@ -40,7 +40,7 @@ public static bool Validate<T>(this T element, out IEnumerable<ValidationError>
4040
}
4141

4242
/// <summary>
43-
/// Validate the Open API element.
43+
/// Validate the Open API element with the given rule set and output the whole validation errors.
4444
/// </summary>
4545
/// <typeparam name="T">The Open API element type.</typeparam>
4646
/// <param name="element">The Open API element.</param>

0 commit comments

Comments
 (0)