return /string|int/.test(property['data-type']) || Property.isEnumeration(property) || Property.isGuid(property);
},
defaultValue(property = {}) {
- if (property.defaultValue) {
- return property.defaultValue;
+ if (property['default-value']) {
+ return property['default-value'];
}
if (this.isObject(property)) {
return {};
if (property.type === 'leaf') {
return defaultValue(property);
}
+ if (property.type === 'leaf_list' ) {
+ return "";
+ }
if (/list/.test(property.type)) {
property.type = 'container';
}