mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-19 00:29:10 +00:00
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
#import <Foundation/Foundation.h>
|
|
|
|
@class {{classPrefix}}Logger;
|
|
|
|
{{>licenceInfo}}
|
|
|
|
static NSString * const k{{classPrefix}}APIVersion = @"{{podVersion}}";
|
|
|
|
@protocol {{classPrefix}}Configuration <NSObject>
|
|
|
|
/**
|
|
* Api logger
|
|
*/
|
|
@property (readonly, nonatomic) {{classPrefix}}Logger *logger;
|
|
|
|
/**
|
|
* Base url
|
|
*/
|
|
@property (readonly, nonatomic) NSString *host;
|
|
|
|
/**
|
|
* Api key values for Api Key type Authentication
|
|
*/
|
|
@property (readonly, nonatomic) NSDictionary *apiKey;
|
|
|
|
/**
|
|
* Api key prefix values to be prepend to the respective api key
|
|
*/
|
|
@property (readonly, nonatomic) NSDictionary *apiKeyPrefix;
|
|
|
|
/**
|
|
* Username for HTTP Basic Authentication
|
|
*/
|
|
@property (readonly, nonatomic) NSString *username;
|
|
|
|
/**
|
|
* Password for HTTP Basic Authentication
|
|
*/
|
|
@property (readonly, nonatomic) NSString *password;
|
|
|
|
/**
|
|
* Access token for OAuth
|
|
*/
|
|
@property (readonly, nonatomic) NSString *accessToken;
|
|
|
|
/**
|
|
* Temp folder for file download
|
|
*/
|
|
@property (readonly, nonatomic) NSString *tempFolderPath;
|
|
|
|
/**
|
|
* Debug switch, default false
|
|
*/
|
|
@property (readonly, nonatomic) BOOL debug;
|
|
|
|
/**
|
|
* SSL/TLS verification
|
|
* Set this to NO to skip verifying SSL certificate when calling API from https server
|
|
*/
|
|
@property (readonly, nonatomic) BOOL verifySSL;
|
|
|
|
/**
|
|
* SSL/TLS verification
|
|
* Set this to customize the certificate file to verify the peer
|
|
*/
|
|
@property (readonly, nonatomic) NSString *sslCaCert;
|
|
|
|
/**
|
|
* Authentication Settings
|
|
*/
|
|
@property (readonly, nonatomic) NSDictionary *authSettings;
|
|
|
|
/**
|
|
* Default headers for all services
|
|
*/
|
|
@property (readonly, nonatomic, strong) NSDictionary *defaultHeaders;
|
|
|
|
@end |