Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed May 18, 2022
1 parent 5ef893e commit 25960a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NJsonSchema/JsonSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ public bool InheritsSchema(JsonSchema parentSchema)
/// <param name="settings">The validator settings.</param>
/// <exception cref="JsonReaderException">Could not deserialize the JSON data.</exception>
/// <returns>The collection of validation errors. </returns>
public ICollection<ValidationError> Validate(string jsonData, JsonSchemaValidatorSettings settings)
public ICollection<ValidationError> Validate(string jsonData, JsonSchemaValidatorSettings settings = null)
{
var validator = new JsonSchemaValidator(settings);
return validator.Validate(jsonData, ActualSchema);
Expand Down

0 comments on commit 25960a0

Please sign in to comment.