Skip to content

Commit

Permalink
Fix: (usebruno#3383) openapi yaml req body not importing
Browse files Browse the repository at this point in the history
  • Loading branch information
arshan1019 committed Nov 8, 2024
1 parent bdfe9c1 commit afae7f6
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 afae7f6

Please sign in to comment.