moving the link scenario to the correct rule while resolving it

- fixing the expected file
- fixing the root file
This commit is contained in:
Erik Mendoza
2022-06-13 14:57:18 -05:00
parent b05958d308
commit f74efe1dcd
3 changed files with 7 additions and 4 deletions

View File

@@ -73,8 +73,8 @@ module.exports = {
if (REQUEST_BODY_CONTAINER.includes(item)) {
item = 'requestBodies';
}
if (LINKS_CONTAINER.includes(item)) {
item = 'links';
if (LINKS_CONTAINER.includes(trace[index + 2])) {
trace[index + 1] = 'links';
}
if (PROPERTY_DEFINITION.includes(trace[index + 2])) {
trace[index + 1] = 'schemas';