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 e73de57 commit a0c848fCopy full SHA for a0c848f
src/Convertor.js
@@ -68,7 +68,7 @@ class Convertor {
68
obj.nullable = true
69
} else {
70
obj.type = type
71
- if (schema?.default) {
+ if (schema.default) {
72
obj.default = schema.default
73
delete schema.default
74
}
0 commit comments