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 and Its-treason committed Nov 20, 2024
1 parent 43756d7 commit 4a7d3db
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 4a7d3db

Please sign in to comment.