File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
test/Microsoft.OpenApi.Tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1248,6 +1248,7 @@ namespace Microsoft.OpenApi
12481248 public static class OpenApiSchemaRules
12491249 {
12501250 public static Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.IOpenApiSchema> ValidateSchemaDiscriminator { get; }
1251+ public static Microsoft.OpenApi.ValidationRule<Microsoft.OpenApi.IOpenApiSchema> ValidateSchemaPropertyHasValue { get; }
12511252 public static bool TraverseSchemaElements(string discriminatorName, System.Collections.Generic.IList<Microsoft.OpenApi.IOpenApiSchema>? childSchema) { }
12521253 public static bool ValidateChildSchemaAgainstDiscriminator(Microsoft.OpenApi.IOpenApiSchema schema, string? discriminatorName) { }
12531254 }
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ public void RuleSetConstructorsReturnsTheCorrectRules()
5353 Assert . Empty ( ruleSet_4 . Rules ) ;
5454
5555 // Update the number if you add new default rule(s).
56- Assert . Equal ( 20 , ruleSet_1 . Rules . Count ) ;
57- Assert . Equal ( 20 , ruleSet_2 . Rules . Count ) ;
56+ Assert . Equal ( 21 , ruleSet_1 . Rules . Count ) ;
57+ Assert . Equal ( 21 , ruleSet_2 . Rules . Count ) ;
5858 Assert . Equal ( 3 , ruleSet_3 . Rules . Count ) ;
5959 }
6060
You can’t perform that action at this time.
0 commit comments