Skip to content

Commit 990e1ee

Browse files
committed
fix handling empty properties
1 parent bc0dc8e commit 990e1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reverse_engineering/helpers/dataHelper.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,9 @@ const handleAdditionalProperties = (schema) => {
537537
}
538538

539539
const handleSchemaProperty = (property, data) => {
540+
if (!data) {
541+
return data;
542+
}
540543
switch(property) {
541544
case 'xml':
542545
return handleSchemaXml(data);

0 commit comments

Comments
 (0)