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 47573a6 commit dd5e903Copy full SHA for dd5e903
packages/react-openapi/src/OpenAPISchema.tsx
@@ -334,7 +334,7 @@ function OpenAPISchemaPresentation(props: { property: OpenAPISchemaPropertyEntry
334
{description ? (
335
<Markdown source={description} className="openapi-schema-description" />
336
) : null}
337
- {typeof schema.default !== 'undefined' ? (
+ {schema.default !== undefined ? (
338
<span className="openapi-schema-default">
339
Default:{' '}
340
<code>
0 commit comments