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 bbe4924 commit b9c5825Copy full SHA for b9c5825
client/src/utils/schemaUtils.ts
@@ -13,7 +13,7 @@ export function generateDefaultValue(schema: JsonSchemaType): JsonValue {
13
if (!schema.required) {
14
if (schema.type === "array") return [];
15
if (schema.type === "object") return {};
16
- return null;
+ return undefined;
17
}
18
19
switch (schema.type) {
0 commit comments