update map to use String instead of string

This commit is contained in:
wing328
2015-09-11 18:02:51 +08:00
parent 46f78f2180
commit 16afd4ee9b
10 changed files with 20 additions and 23 deletions

View File

@@ -218,7 +218,7 @@ public class CSharpClientCodegen extends DefaultCodegen implements CodegenConfig
MapProperty mp = (MapProperty) p;
Property inner = mp.getAdditionalProperties();
return getSwaggerType(p) + "<String, " + getTypeDeclaration(inner) + ">";
return getSwaggerType(p) + "<string, " + getTypeDeclaration(inner) + ">";
}
return super.getTypeDeclaration(p);
}