Chester Husk III
7a7eb113b3
address unused parameters and possible-nullity warnings ( #4210 )
...
* address unused parameters and possible-nullity warnings that newer versions of typescript give for this file
* update example generated clients using the new nullability code
2016-11-19 15:50:22 +08:00
Vineet Shah
993f9eec65
[Swift 3] Use ISOFullDate for date format
2016-11-18 10:55:21 -05:00
wing328
cde24f1113
Merge pull request #4189 from cbornet/spring_cloud_operations
...
[Spring] Use tag operation grouping for spring-cloud
2016-11-18 16:51:36 +08:00
Vincent Giersch
9e08b637ec
fix(swift3): rename reserved enum values ( #4201 )
...
Example:
- case public = "public"
+ case _public = "public"
Signed-off-by: Vincent Giersch <vincent@giersch.fr >
2016-11-18 14:21:17 +08:00
Herman Schistad
2dafdffce5
Allow multiple requests in parallel in Python client ( #4187 )
...
* Allow multiple requests in parallel in Python client
If you tried to do two parallel calls to the same API object in the
Python client you would get an error from urllib3 connection pool:
Connection pool is full, discarding connection: ***
Because the default maxsize=1:
f9409436f8/urllib3/connectionpool.py (L162)
By defaulting to a higher maxsize we mitigate for the common use case
where a user is running a couple of requests in parallel.
Ideally, in the future, this should be a configuration paramater
together with the pool size.
* Add sample code after changing maxsize
2016-11-18 13:38:32 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
43af07a2d4
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-16 16:44:39 +08:00
wing328
39ffc0ae62
[Ruby] remove apache2 license from ruby api client ( #4149 )
...
* remove apache2 license from ruby api client
* remove license from gem spec
2016-11-16 16:38:15 +08:00
cbornet
4a196a9187
[Spring] Use tag operation grouping for spring-cloud
...
Instead of basepath based grouping that is used by Spring boot/MVC
2016-11-15 18:46:48 +01:00
wing328
97924c78a0
update objc samples
2016-11-15 16:16:20 +08:00
wing328
07bec36deb
[ObjC] AFNetworking pinnedCertificates API usage fix ( #4143 )
...
* Fixed afnetworking API usage: pinnedCertificates now declared as NSSet, not as NSArray
* Petstore updated
2016-11-15 16:10:19 +08:00
jfiala
a7252e7560
update check for performBeanValidation #2549
2016-11-12 23:31:49 +01:00
jfiala
9d8c419698
update generated petstore for ok-http-gson #2549
2016-11-12 23:20:03 +01:00
mbohlool
876669cd31
[Python] Add support for request timeout ( #4173 )
...
* [Python] Add support for request timeout
* Update python petstore api
* [Python] Add test for request timeout
2016-11-11 23:48:53 +08:00
Chakrit Wichian
f6a02f4339
[ruby] Make sure super is always called for ApiError class. ( #4168 )
...
* [ruby] Make sure super is always called for ApiError class.
* Add test for Petstore::ApiError
2016-11-11 17:39:45 +08:00
mbohlool
cfd8add825
Add test for _preload_content flag
2016-11-10 14:24:06 -08:00
wing328
7b45c9ccd8
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-11 00:23:36 +08:00
mbohlool
ba9e449fd4
Support _preload_content flag in python client ( #4166 )
...
* Modify python client templates to support _preload_content flag
* Update python petstore
2016-11-10 23:43:32 +08:00
wing328
15b216d47b
fix feign gradle build file
2016-11-09 18:36:16 +08:00
wing328
d572b08bf1
fix feign threepane version
2016-11-09 17:09:34 +08:00
wing328
255bc02b83
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-09 16:37:11 +08:00
Anton WIMMER
6d6cfb4984
fix[dart]: send ISO8601 dates
2016-11-08 14:29:27 +01:00
Roman Truba
73276fd63a
Merge branch 'master' into afnetworking-pinned-certificates-fix
2016-11-08 15:48:46 +03:00
wing328
935bdfe628
better handling of */*
2016-11-08 16:17:51 +08:00
mbohlool
37460ee833
Select application/json content-type in python generated client, if */* is in the list of content-types
2016-11-07 11:54:01 -08:00
Roman Truba
a1cd01916e
[ObjC] Fix deprecated JSONModel API usage ( #4133 )
...
* Fixed deprecated usage -[JSONKeyMapper initWithDictionary:]
* Petstore regenerated
* Change minimal required version of JSONModel
2016-11-07 23:47:09 +08:00
Roman Truba
0c7ab63912
Petstore updated
2016-11-05 22:11:09 +03:00
keysolutions
ab9ea5b2c3
Add constructFromObject to Javascript enum generation. ( #4120 )
...
* Add constructFromObject to Javascript enum generation.
Generated code calls constructFromObject on enum types, but enum did not define the necessary function. Returns the value of the enum.
* Update Petstore JS API client
2016-11-05 23:14:48 +08:00
Roman Truba
1a2b345c57
[Obj-c] Generated code documentation fixes ( #4130 )
...
* Fixed missing parameters names for obj-c generated code
* Obj-c sample regenerated
2016-11-05 23:13:51 +08:00
Christophe Bornet
901a981f26
[feign] Use feign-form ( #4124 )
...
* [feign] Use feign-form
Fix #4108
* [feign] Convert java.util.Date params to rfc3339 with an Expander
2016-11-04 21:13:18 +08:00
wing328
5b0b52df38
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-04 19:18:37 +08:00
wing328
636623d0e9
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-04 19:17:35 +08:00
ircecho
51b941cf88
DART: Removed the 'justIgnoreThisFlag' flag ( #4116 )
...
* feat[dart]: remove unused argument 'justIgnoreThisFlag'
* chore[dart]: petstore rebuild
2016-11-04 19:17:23 +08:00
Christophe Bornet
70d93883cf
[Java] Threetenbp dates support ( #4029 )
...
* [feign] add threetenbp support for feign clients
* [okhttp] add threetenbp support for okhttp clients
* [jersey] add threetenbp support for jersey clients
* [retrofit2] add threetenbp support for retrofit2 clients
* [spring] add threetenbp support for spring generators
* add a workaround in tests for a bug in the petstore
The petstore doesn't manage fractional digits of dates correctly when there are less than 3
2016-11-04 17:55:16 +08:00
Hamed R. Nik
af4b32178f
[ruby] Validate array correctly
...
It never throws error with any values in array. Every element should be validated against the enum.
2016-11-03 17:03:48 +00:00
wing328
c1e6f00242
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-02 15:43:00 +08:00
wing328
4eb75f8088
add back setter to spring model (readonly attr)
2016-11-02 15:40:00 +08:00
wing328
5c0ce022e9
update dart intl version
2016-11-02 11:17:04 +08:00
sutdisi
819a8648d5
Jersey2 Patch Support ( #4110 )
...
* Fix for issue 2848 Adding support for PATH in jersey2
* Updating petstore sample for PATCH update
2016-11-02 09:43:29 +08:00
wing328
0eaab90ba5
Merge branch 'retrofit2-vendor-mime-type' of https://github.com/Rajmohan/swagger-codegen into Rajmohan-retrofit2-vendor-mime-type
2016-11-01 21:40:22 +08:00
Cliffano Subagio
5c53513a30
[python] Add packageUrl option, replacing infoUrl in setup.py ( #4101 )
...
* [python] Add packageUrl option, replacing infoUrl in setup.py .
* [python] Regenerate Python petstore sample.
* [python] Regenerate Python petstore security test sample.
2016-11-01 18:21:53 +08:00
Maciej
c2780abd70
fixing issue#4037 - ts ng2 response type is always json ( #4060 )
...
* fixing issue#4037 - default response is always json
* updated documentation for new method
* updated comment for new method
2016-11-01 17:02:40 +08:00
wing328
e230ef9f50
Merge pull request #4072 from cbornet/spring_response_wrappers
...
[spring] add an option to choose the response wrapper type
2016-11-01 16:41:07 +08:00
Robert Biehl
6963bf8748
[Swift] Swift3 inheritance support ( #4052 )
...
* Swift3 inheritance support
* Mode inheritance support
* Handle 204 No Content without crashing
* Added some new reserved words for Swift (Error, URL)
* Update swift3 pet store example
* PR feedback fixes
* removed unnecessary newline from Models.swift
* removed unnecessary code comments
* ~~public~~ open
* Typo
* Fix review feedback
* fixed comment
2016-11-01 16:25:43 +08:00
Albert Pastrana
7fc17a26c7
[TypeScript Fetch] Fixes typo in FetchParamCreactor ( #4075 )
...
There was a typo, just changing `FetchParamCreactor` to `FetchParamCreator`
2016-10-26 15:52:24 +08:00
wing328
07c6fe9d0d
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-26 15:42:59 +08:00
cbornet
21ec2bc866
[spring] add an option to choose the response wrapper type
...
Also generate the spring-cloud sample with a HystrixCommand wrapper
2016-10-25 15:40:51 +02:00
wing328
aa46aca7cf
update JS petstore samples
2016-10-25 16:52:32 +08:00
wing328
af16601654
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-22 23:08:36 +08:00
Mathieu MARACHE
8bee0de4e9
[Qt5/C++] Arrays of primitive types fix ( #4046 )
...
* Corrects issue #3410 when trying to create Arrays of primitive types
* Use c++11 nullptr keyword and various indentation issues resolved
* ran petstore on new mustaches
2016-10-22 22:58:39 +08:00