Skip to content

Commit

Permalink
docs: update minimum compatible version and usage.
Browse files Browse the repository at this point in the history
Followup to ajv-validator#10.
  • Loading branch information
filipesilva authored Jan 26, 2018
1 parent d847ec3 commit 2b649ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ See also:

## Usage with Ajv

These keywords are compatible with Ajv version >=4.6.0 and require the option `v5: true`.
These keywords are compatible with Ajv version >=5.1.0-beta.0.

To add these keywords to Ajv instance:

```javascript
var Ajv = require('ajv');
var ajv = new Ajv({ v5: true });
var ajv = new Ajv();
require('ajv-merge-patch')(ajv);
```

Expand Down

0 comments on commit 2b649ca

Please sign in to comment.