in media/src/components/APIPage/APIDebugger/widgets/xconsole/base/List.tsx [23:43]
function getSchemaDefaultValue(schema: SemixJsonSchema) {
switch (schema.type) {
case 'object': {
// if (schema.properties) {
// return mapObject(schema.properties, (property: SemixJsonSchema, key) => {
// return getSchemaDefaultValue(property);
// });
// }
return {};
}
case 'array': {
// if (schema.items) {
// return [];
// }
return [];
}
}
return undefined;
}