Skip to content

Commit

Permalink
Update ValidationRuleSet.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Oct 6, 2023
1 parent bc0cebb commit 88bb6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Validations/ValidationRuleSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void Add(ValidationRule rule)
throw new OpenApiException(SRResource.Validation_RuleAddTwice);
}

_rules[rule.ElementType].Add(rule);
item.Add(rule);
}

/// <summary>
Expand Down

0 comments on commit 88bb6b9

Please sign in to comment.