Merge pull request #915 from xhh/ruby-file-response

[Ruby] Support file downloading for Ruby API client
This commit is contained in:
wing328
2015-07-13 14:50:40 +08:00
11 changed files with 121 additions and 37 deletions

View File

@@ -61,6 +61,7 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
typeMapping.put("List", "Array");
typeMapping.put("map", "Hash");
typeMapping.put("object", "Object");
typeMapping.put("file", "File");
// remove modelPackage and apiPackage added by default
cliOptions.clear();