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