Ruby: support binary (byte array) for body parameter and response

This commit is contained in:
xhh
2016-01-21 18:01:03 +08:00
parent 5d156916d7
commit aad0547b40
9 changed files with 167 additions and 48 deletions

View File

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