forked from loafle/openapi-generator-original
added void response
This commit is contained in:
parent
85463f049c
commit
56104566fc
@ -0,0 +1,14 @@
|
||||
return [client stringWithCompletionBlock: requestUrl
|
||||
method: @"{{httpMethod}}"
|
||||
queryParams: queryParams
|
||||
body: bodyDictionary
|
||||
headerParams: headerParams
|
||||
requestContentType: requestContentType
|
||||
responseContentType: responseContentType
|
||||
completionBlock: ^(NSString *data, NSError *error) {
|
||||
if (error) {
|
||||
completionBlock(error);
|
||||
return;
|
||||
}
|
||||
completionBlock(nil);
|
||||
}];
|
Loading…
x
Reference in New Issue
Block a user