From 25960a0553b88c7e61e229e93c9c6291156b5d04 Mon Sep 17 00:00:00 2001 From: Rico Suter Date: Wed, 18 May 2022 18:52:17 +0200 Subject: [PATCH] Fix tests --- src/NJsonSchema/JsonSchema.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NJsonSchema/JsonSchema.cs b/src/NJsonSchema/JsonSchema.cs index 09528392f..8865534f3 100644 --- a/src/NJsonSchema/JsonSchema.cs +++ b/src/NJsonSchema/JsonSchema.cs @@ -955,7 +955,7 @@ public bool InheritsSchema(JsonSchema parentSchema) /// The validator settings. /// Could not deserialize the JSON data. /// The collection of validation errors. - public ICollection Validate(string jsonData, JsonSchemaValidatorSettings settings) + public ICollection Validate(string jsonData, JsonSchemaValidatorSettings settings = null) { var validator = new JsonSchemaValidator(settings); return validator.Validate(jsonData, ActualSchema);