mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-16 08:31:26 +00:00
Use String for "binary" as a workaronud
This commit is contained in:
@@ -134,8 +134,8 @@ public class JavascriptClientCodegen extends DefaultCodegen implements CodegenCo
|
||||
typeMapping.put("double", "Number");
|
||||
typeMapping.put("number", "Number");
|
||||
typeMapping.put("DateTime", "Date");
|
||||
// binary not supported in JavaScript client right now, using Object as a workaround
|
||||
typeMapping.put("binary", "Object");
|
||||
// binary not supported in JavaScript client right now, using String as a workaround
|
||||
typeMapping.put("binary", "String");
|
||||
|
||||
importMapping.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user