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);