Support file downloading in Objc codegen.

This commit is contained in:
geekerzp
2015-07-03 14:29:30 +08:00
parent f48a7f20e6
commit 0e56d0d1c6
17 changed files with 428 additions and 180 deletions

View File

@@ -69,6 +69,7 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig {
typeMapping.put("number", "NSNumber");
typeMapping.put("List", "NSArray");
typeMapping.put("object", "NSObject");
typeMapping.put("file", "File");
// ref: http://www.tutorialspoint.com/objective_c/objective_c_basic_syntax.htm
reservedWords = new HashSet<String>(