Update schemaUtils.js

Fix issue
This commit is contained in:
Luis Tejeda
2022-04-13 16:04:21 -05:00
committed by Erik Mendoza
parent d226580b52
commit 006c3de8a8

View File

@@ -1379,7 +1379,7 @@ module.exports = {
schemaDataPath = '',
exampleProperties = [];
if (!schema) {
return false;
return true;
}
if (schema.$ref) {
schemaDataPath = formatDataPath(formatSchemaPathFromAJVErrorToConvertToDataPath(schema.$ref));