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 a2061a6 commit 2fb5d4bCopy full SHA for 2fb5d4b
client/src/utils/schemaUtils.ts
@@ -95,7 +95,10 @@ export function generateDefaultValue(
95
}
96
97
// Check if this property is required in the parent schema
98
- const isRequired = propertyName && parentSchema ? isPropertyRequired(propertyName, parentSchema) : false;
+ const isRequired =
99
+ propertyName && parentSchema
100
+ ? isPropertyRequired(propertyName, parentSchema)
101
+ : false;
102
103
switch (schema.type) {
104
case "string":
0 commit comments