Skip to content

Commit

Permalink
Fix: (usebruno#3383) openapi yaml req body not importing (usebruno#3459)
Browse files Browse the repository at this point in the history
  • Loading branch information
arshan1019 authored Nov 20, 2024
1 parent 11a3ea9 commit 56c3bf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const resolveRefs = (spec, components = spec?.components, visitedItems = new Set

// Recursively resolve references in nested objects
for (const prop in spec) {
spec[prop] = resolveRefs(spec[prop], components, visitedItems);
spec[prop] = resolveRefs(spec[prop], components, new Set(visitedItems));
}

return spec;
Expand Down

0 comments on commit 56c3bf0

Please sign in to comment.