Handle "binary" as String in Ruby client

as it seems weird to handle byte array (array of integer) in Ruby
This commit is contained in:
xhh
2016-01-25 12:46:26 +08:00
parent aad0547b40
commit 8c19626095
6 changed files with 21 additions and 26 deletions

View File

@@ -86,7 +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");
typeMapping.put("binary", "String");
// remove modelPackage and apiPackage added by default
Iterator<CliOption> itr = cliOptions.iterator();