Skip to content

Commit 9be9f5b

Browse files
committed
fix: Import ajv from ajv/dist/2020
We are using JSONSchema draft 2020-12, which needs ajv/dist/2020. Ref: stoplightio#2788 (comment)
1 parent 5ab4963 commit 9be9f5b

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/ruleset/validation

1 file changed

+1
-1
lines changed

packages/core/src/ruleset/validation/ajv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Ajv, { _, ValidateFunction } from 'ajv';
1+
import Ajv, { _, ValidateFunction } from 'ajv/dist/2020';
22
import names from 'ajv/dist/compile/names';
33
import addFormats from 'ajv-formats';
44
import addErrors from 'ajv-errors';

0 commit comments

Comments
 (0)