@opentermsarchive/engine 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -41,7 +41,10 @@ describe('Metadata file validation', () => {
|
|
|
41
41
|
|
|
42
42
|
metadata = yaml.load(metadataContent, { schema: yaml.CORE_SCHEMA }); // Use CORE_SCHEMA to parse dates as strings rather than JavaScript Date objects
|
|
43
43
|
|
|
44
|
-
const ajv = new Ajv({
|
|
44
|
+
const ajv = new Ajv({
|
|
45
|
+
allErrors: true,
|
|
46
|
+
strict: false, // Allow to ignore OpenAPI-specific keywords that aren't part of the JSON Schema specification (like `example`)
|
|
47
|
+
});
|
|
45
48
|
|
|
46
49
|
addFormats(ajv);
|
|
47
50
|
|