fix string?

This commit is contained in:
wing328
2015-04-21 23:16:17 +08:00
parent 2c0e8f6079
commit eed04560c0
10 changed files with 73 additions and 32 deletions

View File

@@ -50,7 +50,7 @@ public class CSharpClientCodegen extends DefaultCodegen implements CodegenConfig
languageSpecificPrimitives = new HashSet<String>(
Arrays.asList(
"string?",
"string",
"bool?",
"double?",
"int?",
@@ -72,7 +72,7 @@ public class CSharpClientCodegen extends DefaultCodegen implements CodegenConfig
instantiationTypes.put("map", "Dictionary");
typeMapping = new HashMap<String, String>();
typeMapping.put("string", "string?");
typeMapping.put("string", "string");
typeMapping.put("boolean", "bool?");
typeMapping.put("integer", "int?");
typeMapping.put("float", "float?");