fix spec with no model for objc client

This commit is contained in:
wing328
2016-04-10 19:34:09 +08:00
parent c159239d1b
commit 8657720c09
11 changed files with 36 additions and 349 deletions

View File

@@ -95,7 +95,7 @@ public class ObjcClientCodegen extends DefaultCodegen implements CodegenConfig {
//TODO binary should be mapped to byte array
// mapped to String as a workaround
typeMapping.put("binary", "NSString");
typeMapping.put("ByteArray", "NSString");
// ref: http://www.tutorialspoint.com/objective_c/objective_c_basic_syntax.htm
setReservedWordsLowerCase(