forked from loafle/openapi-generator-original
[Swift] Support file upload with Alamofire 1.3.0
refs: - https://github.com/Alamofire/Alamofire/milestones/1.3.0 - https://github.com/Alamofire/Alamofire/pull/539
This commit is contained in:
@@ -100,7 +100,7 @@ public class SwiftCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
typeMapping.put("number", "Double");
|
||||
typeMapping.put("double", "Double");
|
||||
typeMapping.put("object", "String");
|
||||
typeMapping.put("file", "NSData");
|
||||
typeMapping.put("file", "NSURL");
|
||||
|
||||
importMapping = new HashMap<String, String>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user