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 f500aca commit 616f990Copy full SHA for 616f990
src/utils/schema-utils.js
@@ -22,7 +22,7 @@ export function getTypeInfo(schema) {
22
: '',
23
deprecated: schema.deprecated ? '❌' : '',
24
example: typeof schema.example === 'undefined' ? '' : `${schema.example}`,
25
- default: schema.default === 0 ? '0' : (schema.default ? schema.default : ''),
+ default: typeof schema.default === 'undefined' ? '' : `${schema.default}`,
26
description: schema.description ? schema.description : '',
27
constrain: '',
28
allowedValues: '',
0 commit comments