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
wing328
359e52b173
Merge pull request #4188 from cbornet/flask_operations
...
[Flask] Use x-swagger-router-controller in for operation routing
2016-11-18 14:23:45 +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
Nick Maynard
b7e9603e63
jaxrs-cxf-cdi :: Add a basic JAX-RS Application and CDI fixes ( #4196 )
...
* Add a basic JAX-RS Application and CDI fixes
* jaxrs-cxf-cdi :: Fix samples generation template dir
* jaxrs-cxf-cdi :: Regenerate samples
* jaxrs-cxf-cdi :: Clean up some checkstyle warnings
2016-11-18 14:00:53 +08:00
wing328
3d476debaf
Merge pull request #4178 from cbornet/flask
...
[Flask] Add models support to Flask Connexion codegen
2016-11-18 13:56:59 +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
cbornet
1e6cab8a03
[Flask] Use x-swagger-router-controller in swagger.yaml for operation routing
...
Fix #4106
2016-11-17 19:21:05 +01:00
cbornet
e5daa6855c
add models support to flask
2016-11-17 18:30:59 +01:00
wing328
d6e8fb0194
Merge pull request #4204 from bshamblen/master
...
[html2] Add missing enums to parameters
2016-11-17 16:23:33 +08:00
Brian Shamblen
97722437c4
Add missing enums to properties
2016-11-16 15:42:27 -08:00
wing328
88227e08e3
Remove Apache license from server stub generators ( #4200 )
...
* remove php apache license
* remove license in sample code, update nodejs to use unlicnese
* remove license from jaxrs generator
* remove license from server generator
* update pom.xml for jaxrs resteasy joda server
2016-11-17 00:37:21 +08:00
wing328
63c3133e88
Remove Apache license from document generator ( #4199 )
...
* remove php apache license
* remove license from doc generator
2016-11-16 23:45:55 +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
Brian Shamblen
9e309bbfeb
Update pet store example
2016-11-11 12:27:32 -08: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
5899554d9d
Merge pull request #4159 from ircecho/origin/iso8061date
...
fix[dart]: send ISO8601 dates
2016-11-10 00:24:05 +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
wing328
cce410c463
add vendor extension to handle void response in jaxrs-cxf
2016-11-08 21:06:38 +08: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
wing328
7f31763273
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-11-07 23:55:13 +08:00
wing328
46c4eb3869
update mxf4j sample
2016-11-07 23:54:47 +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
wing328
e78ce6fb1e
Merge pull request #4059 from markus-wa/issue-4045
...
[JAXRS-CXF] Issue 4045 - Fixed enum marshalling & fromValue()
2016-11-07 23:42:29 +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