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 7761138 commit fd83f5cCopy full SHA for fd83f5c
src/utils/schema-utils.js
@@ -32,7 +32,7 @@ export function getTypeInfo(schema) {
32
readOrWriteOnly: (schema.readOnly ? '🆁' : schema.writeOnly ? '🆆' : ''),
33
deprecated: schema.deprecated ? '❌' : '',
34
examples: schema.examples || schema.example,
35
- default: schema.default || '',
+ default: schema.default != null ? `${schema.default}` : '',
36
description: schema.description || '',
37
constrain: '',
38
allowedValues: '',
0 commit comments