add decimal support to R client generator (#10487)

This commit is contained in:
William Cheng 2021-09-28 11:47:43 +08:00 committed by GitHub
parent 26ffab184f
commit 5dcd76d9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,6 +133,7 @@ public class RClientCodegen extends DefaultCodegen implements CodegenConfig {
typeMapping.put("number", "numeric"); typeMapping.put("number", "numeric");
typeMapping.put("float", "numeric"); typeMapping.put("float", "numeric");
typeMapping.put("double", "numeric"); typeMapping.put("double", "numeric");
typeMapping.put("decimal", "numeric");
typeMapping.put("boolean", "character"); typeMapping.put("boolean", "character");
typeMapping.put("string", "character"); typeMapping.put("string", "character");
typeMapping.put("UUID", "character"); typeMapping.put("UUID", "character");