forked from loafle/openapi-generator-original
* [objc] Update deployment target to 8.0 Updates the test project deployment target to 8.0, as that's the lowest supported by the latest XCode. * [objc] Update petstore tests based on current master Makes sure the tests are based on the latest version of master. * [objc] Allow specifying the serialization timezone Now it's possible to specify the timezone used for serializing dates
39 lines
1.2 KiB
Objective-C
39 lines
1.2 KiB
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "SWGApi.h"
|
|
|
|
/**
|
|
* Swagger Petstore *_/ ' \" =end -- \\r\\n \\n \\r
|
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ *_/ ' \" =end --
|
|
*
|
|
* OpenAPI spec version: 1.0.0 *_/ ' \" =end -- \\r\\n \\n \\r
|
|
* Contact: apiteam@swagger.io *_/ ' \" =end -- \\r\\n \\n \\r
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
|
|
@interface SWGFakeApi: NSObject <SWGApi>
|
|
|
|
extern NSString* kSWGFakeApiErrorDomain;
|
|
extern NSInteger kSWGFakeApiMissingParamErrorCode;
|
|
|
|
-(instancetype) initWithApiClient:(SWGApiClient *)apiClient NS_DESIGNATED_INITIALIZER;
|
|
|
|
/// To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
|
|
///
|
|
///
|
|
/// @param testCodeInjectEndRnNR To test code injection *_/ ' \" =end -- \\r\\n \\n \\r (optional)
|
|
///
|
|
/// code:400 message:"To test code injection *_/ ' \" =end -- \\r\\n \\n \\r"
|
|
///
|
|
/// @return void
|
|
-(NSURLSessionTask*) testCodeInjectEndRnNRWithTestCodeInjectEndRnNR: (NSString*) testCodeInjectEndRnNR
|
|
completionHandler: (void (^)(NSError* error)) handler;
|
|
|
|
|
|
|
|
@end
|