Fix formatting
This commit is contained in:
parent
a2061a6f76
commit
2fb5d4b684
1 changed files with 4 additions and 1 deletions
|
|
@ -95,7 +95,10 @@ export function generateDefaultValue(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if this property is required in the parent schema
|
// Check if this property is required in the parent schema
|
||||||
const isRequired = propertyName && parentSchema ? isPropertyRequired(propertyName, parentSchema) : false;
|
const isRequired =
|
||||||
|
propertyName && parentSchema
|
||||||
|
? isPropertyRequired(propertyName, parentSchema)
|
||||||
|
: false;
|
||||||
|
|
||||||
switch (schema.type) {
|
switch (schema.type) {
|
||||||
case "string":
|
case "string":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue