wing328
1a2bf79d51
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/client/petstore/objc/README.md
2016-05-09 11:22:25 +08:00
Mateusz Mackowiak
fbd6a95799
[Objc] Generator supports binary and BiteArray and maps data to NSData
2016-05-08 12:54:12 +02:00
Mateusz Mackowiak
81c6edcdd4
Merge commit '084f15fc2e6db460b037b08708a3713b8ef61be6' into obj/ApiClient_AFNetworking3
2016-05-07 13:57:15 +02:00
Mateusz Mackowiak
a71d8d935a
Use AFHttpSessionManager instead of AFHTTPRequestOperationManager #1981
2016-05-07 12:16:05 +02:00
Mateusz Mackowiak
fa68f84ec6
- Remove petsotre demo leftovers
...
- Moved description method to basic class
2016-05-06 12:35:02 +02:00
Mateusz Mackowiak
385bf6d9ea
Additional UnknownResponseObjectErrorCode if response object expected type is an unknown type
2016-05-06 11:41:30 +02:00
Mateusz Mackowiak
65d85b7760
ResponseDeserializer for separating deserialization and service logic
2016-05-06 10:46:03 +02:00
Griffin Schneider
e5ab34b658
Replace 'BEARER' with 'Bearer' everywhere.
...
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
Mateusz Mackowiak
18783e3fc7
#1907 JsonModel deserialization errors
2016-04-25 19:04:00 +02:00
Kevin Glinski
2beeabb33a
fixing typeos
2016-04-14 08:22:56 -04:00
wing328
feee8de4be
udpate docstring in objc
2016-04-12 15:33:40 +08:00
wing328
8657720c09
fix spec with no model for objc client
2016-04-10 19:34:09 +08:00
wing328
a9a229f113
add new objc doc file
2016-04-07 23:17:32 +08:00
wing328
c936f4b436
add oauth support to objc
2016-04-05 23:31:22 +08:00
wing328
93657d5ec5
more fix to objc sample code
2016-04-01 19:42:01 +08:00
wing328
f6bc1f5262
tested and fixed sample code for objc
2016-04-01 19:12:14 +08:00
wing328
a4e3b3b6e1
fix sample code
2016-04-01 15:10:42 +08:00
Stuart Campbell
87495a747f
Changed tense of override to overridden.
2016-03-22 11:33:33 +00:00
Stuart Campbell
553ebd659a
Updates to iOS ApiClient - added getting for for offline state and settings for reachability status. This addresses "Default iOS reachability status #2422 "
2016-03-22 10:56:56 +00:00
wing328
05a8c47a36
update docstring to include default value
2016-03-17 17:43:21 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +08:00
wing328
d28f860343
Merge pull request #2202 from traviscollins/master
...
Added discriminator support to Objective-C
2016-03-03 14:25:07 +08:00
wing328
dfa977627a
better reserved word for objc
2016-02-28 15:52:51 +08:00
Sven Luzar
4baa7c01b0
ApiClient Bugfix: containsString removed to support iOS 7
2016-02-22 13:39:21 +01:00
Travis Collins
6a1f3f45b1
Added discriminator implementation by overriding NSDictionary initWithDictionary and returning the appropriate class.
2016-02-21 22:08:49 -05:00
hideya kawahara
753499e204
generated ObjC method names to follow Apple's coding convention
2016-02-16 10:55:36 +09:00
wing328
75a1f97a1e
minor style change for objc client
2015-12-10 15:21:52 +08:00
wing328
b2b06d72d5
Merge pull request #1685 from mateuszmackowiak/master
...
Support for extended 'application/json' HeaderAccept types
2015-12-10 14:52:05 +08:00
wing328
e767a7d6d8
add default value to objc model properties
2015-12-09 16:21:00 +08:00
Mateusz Mackowiak
a01dfb693b
Support for extended 'application/json' HeaderAccept types
2015-12-08 18:52:59 +01:00
Ches Martin
d9117480f8
[objc] Add casts that avoid method resolution errors
...
Because the `data` that we're deserializing is of type `id` (essentially
untyped), it's possible to have method resolution clashes without
explicitly casting here once we've parsed a type. I had this issue with
a pagination container model, for instance, which has a field named
`count` that conflicts with the property of the same name on `NSArray`
or `NSDictionary`.
2015-10-06 10:58:48 +07:00
Balázs Varga
19d8766363
Fix model inheritance.
2015-09-29 10:07:51 +02:00
geekerzp
30fbdd4d05
Add class prefix to macro DebugLog in objc client
2015-09-23 17:18:07 +08:00
geekerzp
844cae75b7
Update debug logging in objc client
2015-09-22 16:32:15 +08:00
geekerzp
0622838947
Fixed issues about logging in objc client
2015-09-22 09:29:48 +08:00
wing328
b7d64d1352
Merge pull request #1254 from GoodTRKR/master
...
[Obj-C] removed extraneous logs unless logging is specifically enabled in the [SWGConfiguration sharedConfig] instance
2015-09-19 01:04:10 +08:00
Matthew Davis
65cfa735d5
[Obj-C] removed extraneous logs unless logging is specifically enabled in the [SWGConfiguration sharedConfig] instance
2015-09-17 17:39:26 -07:00
geekerzp
261ae79528
Remove space from parameterToString in objc client
2015-09-17 15:59:03 +08:00
geekerzp
fb14585adf
Add parameterToString method
2015-09-17 15:20:11 +08:00
geekerzp
b0063d9e9f
Objc client ssl verification
2015-09-14 18:29:49 +08:00
Matthew Davis
1268b0627f
added NSNumber catch to pathParams as well
2015-09-11 17:33:36 -07:00
Matthew Davis
761f172c2f
forgot an 'else' statement
2015-09-11 17:27:25 -07:00
Matthew Davis
1321d5f9a5
[Obj-C] Fixed an issue where NSNumber parameters would cause a crash in multipart/form-data upload endpoints
2015-09-11 17:23:48 -07:00
Matthew Davis
dbdcf34044
[Obj-C] Fixed an issue with incorrect references in the ApiClient when using a custom prefix.
2015-09-10 15:14:53 -07:00
wing328
2e30a3af27
Merge pull request #1189 from mad102190/feature/objc-response-headers
...
[Obj-C] Added ability to access HTTP Response headers
2015-09-04 16:42:25 +08:00
Matthew Davis
f705e03fc4
changes to podspec.mustache to accept new params
2015-09-03 13:02:24 -07:00
Matthew Davis
2822e9ea38
added support for retrieving HTTP response headers in obj-c. Also added a +sharedAPI class method for easy initialization of an API class without passing headers
2015-09-03 12:18:00 -07:00
geekerzp
4189d0765b
Update api body template of objc client
2015-08-21 11:40:59 +08:00
geekerzp
6218ad139f
Fix issue that it will throw error if not pass optional form param in objc client.
2015-08-21 11:20:29 +08:00
geekerzp
b7cd38d38b
Update objc client.
...
Sanitize request parameters (path, query, header, form, body).
2015-08-21 09:42:31 +08:00