Commit Graph

205 Commits

Author SHA1 Message Date
wing328
59ec339679 Merge remote-tracking branch 'origin/master' into 2.3.0 2016-10-09 12:26:29 +08:00
sylvain-abadie
94cd2cb6a0 [Objc] Added support for lower case discriminator (#3927)
* [Objc] Added support for lower case discriminator

* Updated Objc petstore samples

* Fixed code style
2016-10-06 23:29:55 +08:00
Mateusz Maćkowiak
4bb288c253 [Objc] Remove interface method duplicate 2016-09-14 16:10:19 +02:00
Mateusz Maćkowiak
086ee13e90 [Objc] CoreData builders remove old array data (#3787) 2016-09-14 18:46:30 +08:00
wing328
766b04a2bd Merge remote-tracking branch 'origin/master' into 2.3.0 2016-09-12 23:30:15 +08:00
Mateusz Maćkowiak
9ca27a760e [Objc] Fix core data unordered array content 2016-09-06 10:38:06 +02:00
wing328
da45cb7ff5 remove unnecessary changes for php codegen 2016-08-31 16:38:30 +08:00
Ville Skyttä
2fbec6d9eb Spelling fixes 2016-08-28 17:05:34 +03:00
Ville Skyttä
b4c139f19b Spelling fixes 2016-08-27 02:34:33 +03:00
Mateusz Maćkowiak
e40f9abdbb Fix problem with multitheard api client 2016-08-23 14:12:58 +02:00
Mateusz Maćkowiak
a893168291 [ObjC] Add version define and share default headers of each client 2016-08-17 10:21:24 +02:00
Wolfgang Berger
500f41902e Feature/objc tasks 2.3.0 (#3522)
* change api and ApiClient to return cancellable NSURLSessionTasks instead of NSNumber

* define a configuration protocol for custom configurations, which can be passed to api clients instead of a global configuration, provide a default implementation with a singleton option

* integrate a workaround for a current JSONModel concurrency bug

* update to new ISO8601 pod

* add missing call to super

* integrate new templates into codegen

* updates documentation templates

* updates petstore objc generated code

* fixes objc client tests
2016-08-16 21:15:23 +08:00
wing328
37404909bf to set a default description if none is provided 2016-07-19 16:55:39 +08:00
wing328
3f6f4bfd86 fix objc readme doc 2016-07-03 21:49:33 +08:00
Mateusz Mackowiak
fc43b8700b [Objc] Moved default petstore demo sample to default folder and created a target with core data sample 2016-06-16 11:57:52 +02:00
Mateusz Mackowiak
102226666f [Objc] - CoreData support for ArrayModels
- Support for uuid and password types
2016-06-13 18:31:19 +02:00
Mateusz Mackowiak
5a6daeed8f [Objc] Moved x-is-unique: true to petstore-with-fake-endpoints-models-for-testing 2016-06-10 14:17:52 +02:00
Mateusz Mackowiak
24ecf9d74f [Objc] Support for x-unique-id-key vendorExtensions 2016-06-06 12:13:06 +02:00
wing328
eeb14ae936 Merge pull request #3018 from mateuszmackowiak/objc/binary_data
[Objc] Proper binary data handle
2016-06-05 22:28:56 +08:00
Mateusz Mackowiak
7a87746af1 [Objc] Proper binary data handle 2016-06-01 16:43:35 +02:00
Mateusz Mackowiak
2ead00c96d [Objc] Add customizable user-agent #2715 2016-06-01 15:51:52 +02:00
Mateusz Mackowiak
fbd8deef46 [Objc] core data objc update license 2016-05-31 18:27:34 +02:00
Mateusz Mackowiak
a8daf94831 Remove nullability warnings 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
bfd71c1e29 [Objc] CoreData added test 2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
ceda86b9c3 [Objc] Basic Core data support 2016-05-30 22:02:16 +08:00
Mateusz Mackowiak
ef66f9622c Moved GlobalSupportingFile to separate file 2016-05-27 16:04:20 +02:00
Mateusz Mackowiak
d82c77da34 - [Objc] Fix test after removing license property
- Moved adding License file to DefaultGenerator
2016-05-27 12:46:09 +02:00
Mateusz Mackowiak
c68168fa27 - Remove optional license property
- License in all header files
2016-05-25 18:13:27 +02:00
Mateusz Mackowiak
537ee960b6 [Objc] Add Apache v2 license to auto-generated files #2963 2016-05-25 15:09:05 +02:00
wing328
22413855cd remove try-catch block from objc sample code 2016-05-18 23:51:52 +08:00
Mateusz Mackowiak
36135134cb [Objc] - Fixed undeclared selector 2016-05-16 09:19:36 +02:00
Mateusz Mackowiak
7e1b080e24 [Objc] - Default headers in shared configuration 2016-05-16 08:55:08 +02:00
Mateusz Mackowiak
db27498961 [Objc] Remove try catch form documentation. 2016-05-16 07:48:22 +02:00
Mateusz Mackowiak
5c8516ce24 [Objc] - Common protocol for Api and added NSParameterAssert if missing required param + calling completion block with error rather than throwing an exception 2016-05-16 07:30:25 +02:00
Mateusz Mackowiak
70cbe1042c [Objc] Moved the generated files to Api, Core and Model folders
- Added known response codes in comment
2016-05-13 17:46:49 +02:00
wing328
a05133bdc6 Merge branch 'objc/moved_logger_and_optimalizations' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/moved_logger_and_optimalizations
Conflicts:
	samples/client/petstore/objc/README.md
	samples/client/petstore/objc/SwaggerClient.podspec
2016-05-12 22:38:06 +08:00
Mateusz Mackowiak
ac37c43649 [Objc] Moved [request setHTTPShouldHandleCookies:NO]; to postProcessRequest method for easier override to modify request. 2016-05-11 18:20:15 +02:00
Mateusz Mackowiak
567c23a3df [Objc] Support for variations of application/json type 2016-05-11 17:39:28 +02:00
Mateusz Mackowiak
6206785038 [Objc] bump AFNetworking version to 3 2016-05-11 10:40:43 +02:00
Mateusz Mackowiak
fa7d3c9bad [Objc]
- Moved Logging to separate Logger file
- Moved selectHeaderAccept and selectHeaderContentType to sanitizer
- little optimizations
2016-05-10 22:06:50 +02:00
Mateusz Mackowiak
94f49d2275 [Objc] bump version of JSONModel to 1.2 and ISO8601 to 0.5 2016-05-10 21:53:14 +02:00
wing328
28c7ea5426 Merge pull request #2799 from mateuszmackowiak/obj/ApiClient-Sanitizer
Sanitizer for separating sanitize and service logic
2016-05-09 18:01:36 +08:00
Mateusz Mackowiak
ea87f95f77 Rebase obj/Generic_List_and_Maps 2016-05-09 10:08:28 +02:00
Mateusz Mackowiak
93a39242a6 Merge branch 'master' into obj/ApiClient-Sanitizer 2016-05-09 09:49:27 +02:00
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
74c233e194 Sanitizer for separating sanitize and service logic 2016-05-07 15:18:10 +02:00
Mateusz Mackowiak
07b466a291 Objective c generator converts map and array properties to proper format using generics 2016-05-07 14:13:25 +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