forked from loafle/openapi-generator-original
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