mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 15:33:11 +01:00
parent
11a3ea9fbb
commit
56c3bf0899
@ -271,7 +271,7 @@ const resolveRefs = (spec, components = spec?.components, visitedItems = new Set
|
|||||||
|
|
||||||
// Recursively resolve references in nested objects
|
// Recursively resolve references in nested objects
|
||||||
for (const prop in spec) {
|
for (const prop in spec) {
|
||||||
spec[prop] = resolveRefs(spec[prop], components, visitedItems);
|
spec[prop] = resolveRefs(spec[prop], components, new Set(visitedItems));
|
||||||
}
|
}
|
||||||
|
|
||||||
return spec;
|
return spec;
|
||||||
|
Loading…
Reference in New Issue
Block a user