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:
ravinikam 2017-03-11 09:03:37 -06:00 committed by wing328
parent 4bf0fd6ad4
commit c4bd4c9e91

View File

@ -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>");