Remove top level circular refs in alternatives (#2924)

This commit is contained in:
Nolann B.
2025-03-05 14:08:34 +01:00
committed by GitHub
parent 31e381035e
commit 3173d8ec2d
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@gitbook/react-openapi': patch
---
Remove top level circular refs in alternatives
+1 -1
View File
@@ -57,7 +57,7 @@ function OpenAPISchemaProperty(props: {
<OpenAPISchemaAlternative
key={index}
schema={schema}
circularRefs={circularRefs}
circularRefs={new Map(circularRefs)}
context={context}
/>
))}