mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 00:19:13 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user