ajv-validator / ajv

The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
https://ajv.js.org
MIT License
13.87k stars 877 forks source link

docs(guide): Fix user keywords example code #2499

Open yuks opened 1 month ago

yuks commented 1 month ago

What issue does this pull request resolve? The guide for User-defined keywords contains a wrong code example.

What changes did you make? Correct the code example in user-keywords.md file.

Is there anything that requires more attention while reviewing? No