Fix bug for models with no properties (except id)
Fix bug for models with no properties (except id)

IBM-Swift/generator-swiftserver,IBM-Swift/generator-swiftserver,IBM-Swift/generator-swiftserver,IBM-Swift/generator-swiftserver