Swagger-codegen expects a type attribute

Swagger codegen fails when a type attribute is not provided. There's no way of knowing the return type in ruby.
See comment https://groups.google.com/forum/#!msg/swagger-swaggersocket/XQyMgEM4u78/T0ZTB3Nq_BEJ