forked from loafle/openapi-generator-original
Add missing number type mapping (#5013)
number to float or double type mapping was missing, added number to double to accommodate both.
This commit is contained in:
parent
4bf0fd6ad4
commit
c4bd4c9e91
@ -113,6 +113,7 @@ public class CppRestClientCodegen extends DefaultCodegen implements CodegenConfi
|
||||
typeMapping.put("file", "HttpContent");
|
||||
typeMapping.put("object", "Object");
|
||||
typeMapping.put("binary", "std::string");
|
||||
typeMapping.put("number", "double");
|
||||
|
||||
super.importMapping = new HashMap<String, String>();
|
||||
importMapping.put("std::vector", "#include <vector>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user