[Obj-c] Generated code documentation fixes (#4130)

* Fixed missing parameters names for obj-c generated code

* Obj-c sample regenerated
This commit is contained in:
Roman Truba 2016-11-05 18:13:51 +03:00 committed by wing328
parent 3f19ccaf17
commit 1a2b345c57
6 changed files with 10 additions and 10 deletions

View File

@ -72,7 +72,7 @@ extern NSString *const {{classPrefix}}ResponseObjectErrorKey;
/**
* Sets the client reachability, this may be overridden by the reachability manager if reachability changes
*
* @param The client reachability.
* @param status The client reachability status.
*/
+(void) setReachabilityStatus:(AFNetworkReachabilityStatus) status;

View File

@ -100,7 +100,7 @@
/**
* Sets the prefix for API key
*
* @param apiKeyPrefix API key prefix.
* @param prefix API key prefix.
* @param identifier API key identifier.
*/
- (void) setApiKeyPrefix:(NSString *)prefix forApiKeyPrefixIdentifier:(NSString *)identifier;
@ -140,7 +140,7 @@
/**
* Removes header from defaultHeaders
*
* @param Header name.
* @param key Header name.
*/
-(void) removeDefaultHeaderForKey:(NSString*)key;
@ -153,7 +153,7 @@
-(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key;
/**
* @param Header key name.
* @param key Header key name.
*/
-(NSString*) defaultHeaderForKey:(NSString*)key;

View File

@ -28,7 +28,7 @@ extern NSInteger const {{classPrefix}}UnknownResponseObjectErrorCode;
* Deserializes the given data to Objective-C object.
*
* @param data The data will be deserialized.
* @param class The type of objective-c object.
* @param className The type of objective-c object.
* @param error The error
*/
- (id) deserialize:(id) data class:(NSString *) className error:(NSError**)error;

View File

@ -98,7 +98,7 @@ extern NSString *const SWGResponseObjectErrorKey;
/**
* Sets the client reachability, this may be overridden by the reachability manager if reachability changes
*
* @param The client reachability.
* @param status The client reachability status.
*/
+(void) setReachabilityStatus:(AFNetworkReachabilityStatus) status;

View File

@ -122,7 +122,7 @@
/**
* Sets the prefix for API key
*
* @param apiKeyPrefix API key prefix.
* @param prefix API key prefix.
* @param identifier API key identifier.
*/
- (void) setApiKeyPrefix:(NSString *)prefix forApiKeyPrefixIdentifier:(NSString *)identifier;
@ -162,7 +162,7 @@
/**
* Removes header from defaultHeaders
*
* @param Header name.
* @param key Header name.
*/
-(void) removeDefaultHeaderForKey:(NSString*)key;
@ -175,7 +175,7 @@
-(void) setDefaultHeaderValue:(NSString*) value forKey:(NSString*)key;
/**
* @param Header key name.
* @param key Header key name.
*/
-(NSString*) defaultHeaderForKey:(NSString*)key;

View File

@ -50,7 +50,7 @@ extern NSInteger const SWGUnknownResponseObjectErrorCode;
* Deserializes the given data to Objective-C object.
*
* @param data The data will be deserialized.
* @param class The type of objective-c object.
* @param className The type of objective-c object.
* @param error The error
*/
- (id) deserialize:(id) data class:(NSString *) className error:(NSError**)error;