add decimal support to powershell (#10486)

This commit is contained in:
William Cheng
2021-09-28 11:38:36 +08:00
committed by GitHub
parent 51d468e2f6
commit 334b18ae24

View File

@@ -515,6 +515,7 @@ public class PowerShellClientCodegen extends DefaultCodegen implements CodegenCo
typeMapping.put("long", "Int64");
typeMapping.put("double", "Double");
typeMapping.put("number", "Decimal");
typeMapping.put("decimal", "Decimal");
typeMapping.put("object", "System.Collections.Hashtable");
typeMapping.put("file", "System.IO.FileInfo");
typeMapping.put("ByteArray", "System.Byte[]");