We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12efaf commit cb879e3Copy full SHA for cb879e3
src/Microsoft.OpenApi/Validations/Rules/OpenApiPathsRules.cs
@@ -42,15 +42,15 @@ public static class OpenApiPathsRules
42
new ValidationRule<OpenApiPaths>(nameof(PathMustBeUnique),
43
(context, item) =>
44
{
45
- var HashSet = new HashSet<string>();
+ var hashSet = new HashSet<string>();
46
47
foreach (var path in item.Keys)
48
49
context.Enter(path);
50
51
var pathSignature = GetPathSignature(path);
52
53
- if (!HashSet.Add(pathSignature))
+ if (!hashSet.Add(pathSignature))
54
context.CreateError(nameof(PathMustBeUnique),
55
string.Format(SRResource.Validation_PathSignatureMustBeUnique, pathSignature));
56
0 commit comments