mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
change ajv draft 4 to ajv 6 and validate using schema for 04
change ajv draft 4 to ajv 6 and validate using schema for 04
This commit is contained in:
@@ -3190,7 +3190,7 @@ module.exports = {
|
||||
|
||||
mismatchObj = _.assign({
|
||||
property: property,
|
||||
transactionJsonPath: jsonPathPrefix + ajvError.instancePath,
|
||||
transactionJsonPath: jsonPathPrefix + formatDataPath(ajvError.instancePath),
|
||||
schemaJsonPath: schemaPathPrefix + '.' + localSchemaPath
|
||||
}, ajvValidationError(ajvError, { property, humanPropName }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user