Merge pull request #1934 from xhh/ruby-binary

[Ruby] Support "binary" format for body parameter and response
This commit is contained in:
wing328
2016-01-29 13:15:05 +08:00
10 changed files with 53 additions and 57 deletions

View File

@@ -90,6 +90,7 @@ public class RubyClientCodegen extends DefaultCodegen implements CodegenConfig {
typeMapping.put("map", "Hash");
typeMapping.put("object", "Object");
typeMapping.put("file", "File");
typeMapping.put("binary", "String");
// remove modelPackage and apiPackage added by default
Iterator<CliOption> itr = cliOptions.iterator();