added Commands to evens
This commit is contained in:
parent
506dcf1323
commit
c922eef0db
|
@ -28,6 +28,8 @@ module.exports = (service) => {
|
|||
model.command = command.value
|
||||
model.command.fields = model.command.fields.map(field => {
|
||||
field.type = javaType.mapJavaType(field.type, service.namespace)
|
||||
model.imports = model.imports || []
|
||||
model.imports.push(...field.type.imports)
|
||||
return field
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue