We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fdd70 commit ff79822Copy full SHA for ff79822
lib/validators/schema.js
@@ -2,7 +2,6 @@
2
3
const util = require("../util");
4
const { ono } = require("@jsdevtools/ono");
5
-const AjvDraft4 = require("ajv-draft-04");
6
const Ajv = require("ajv/dist/2020");
7
const { openapi } = require("@apidevtools/openapi-schemas");
8
@@ -70,6 +69,7 @@ function initializeAjv (draft04 = true) {
70
69
};
71
72
if (draft04) {
+ const AjvDraft4 = require("ajv-draft-04");
73
return new AjvDraft4(opts);
74
}
75
0 commit comments