Skip to content

Commit a31f746

Browse files
author
DrMyroslav
committed
HCK-2760: fixed issue related to re from cql file udt with complex name
1 parent 5116140 commit a31f746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse_engineering/cqlToCollectionsVisitor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ class Visitor extends CqlParserVisitor {
692692

693693
return {
694694
type: 'reference',
695-
$ref: '#/definitions/' + type
695+
$ref: '#/definitions/' + (type || '').split('.').slice(-1)?.[0] || type,
696696
};
697697
}
698698

0 commit comments

Comments
 (0)