Skip to content

Commit ce2aa63

Browse files
committed
Remove top-level description above OpenAPISchemaProperty
1 parent dd5e903 commit ce2aa63

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

packages/react-openapi/src/OpenAPISchema.tsx

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,12 @@ function OpenAPIRootSchema(props: {
167167
}
168168

169169
return (
170-
<>
171-
{description ? (
172-
<Markdown source={description} className="openapi-schema-root-description" />
173-
) : null}
174-
<OpenAPISchemaProperty
175-
className="openapi-schema-root"
176-
property={{ schema }}
177-
context={context}
178-
circularRefs={parentCircularRefs}
179-
/>
180-
</>
170+
<OpenAPISchemaProperty
171+
className="openapi-schema-root"
172+
property={{ schema }}
173+
context={context}
174+
circularRefs={parentCircularRefs}
175+
/>
181176
);
182177
}
183178

0 commit comments

Comments
 (0)