We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df840da commit d222c11Copy full SHA for d222c11
packages/react-openapi/src/OpenAPISchema.tsx
@@ -51,15 +51,15 @@ export function OpenAPISchemaProperty(
51
return (
52
<InteractiveSection id={id} className={clsx('openapi-schema', className)}>
53
<OpenAPISchemaPresentation {...props} />
54
- <OpenAPIDisclosure context={context}>
55
- {properties && properties.length > 0 ? (
+ {properties && properties.length > 0 ? (
+ <OpenAPIDisclosure context={context}>
56
<OpenAPISchemaProperties
57
properties={properties}
58
circularRefs={circularRefs}
59
context={context}
60
/>
61
- ) : null}
62
- </OpenAPIDisclosure>
+ </OpenAPIDisclosure>
+ ) : null}
63
</InteractiveSection>
64
);
65
}
0 commit comments