Skip to content

Commit cb879e3

Browse files
committed
chore: reverts casing change
1 parent d12efaf commit cb879e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.OpenApi/Validations/Rules/OpenApiPathsRules.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ public static class OpenApiPathsRules
4242
new ValidationRule<OpenApiPaths>(nameof(PathMustBeUnique),
4343
(context, item) =>
4444
{
45-
var HashSet = new HashSet<string>();
45+
var hashSet = new HashSet<string>();
4646

4747
foreach (var path in item.Keys)
4848
{
4949
context.Enter(path);
5050

5151
var pathSignature = GetPathSignature(path);
5252

53-
if (!HashSet.Add(pathSignature))
53+
if (!hashSet.Add(pathSignature))
5454
context.CreateError(nameof(PathMustBeUnique),
5555
string.Format(SRResource.Validation_PathSignatureMustBeUnique, pathSignature));
5656

0 commit comments

Comments
 (0)