fix objc binary mapping, add objc,swift to CI tests

This commit is contained in:
wing328
2016-02-13 16:29:35 +08:00
parent 9bea6943a2
commit 2fcbc38b67
8 changed files with 389 additions and 119 deletions

View File

@@ -84,6 +84,9 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig {
typeMapping.put("List", "NSArray");
typeMapping.put("object", "NSObject");
typeMapping.put("file", "NSURL");
//TODO binary should be mapped to byte array
// mapped to String as a workaround
typeMapping.put("binary", "NSString");
// ref: http://www.tutorialspoint.com/objective_c/objective_c_basic_syntax.htm