Commit Graph

7787 Commits

Author SHA1 Message Date
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
da136135af add http://www.intenthq.com 2016-11-18 16:46:54 +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
James Hitchcock
5baa715603 Remove opening PHP tag from PHP code sample (#4212) 2016-11-18 14:16:35 +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
Sanjeewa Malalgoda
61f6c94351 update readme description (#4207) 2016-11-18 13:43:11 +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
d548a8078c add taskdata 2016-11-17 21:49:57 +08: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
Vincent Giersch
bd06a629c6 fix(swift3): multi-level inheritance support
Supports multi-level inheritance to avoid having the variables from
the parents of level > 2

This commit also fixes the comparison of the variables when skipping
the variables in the children classes by only comparing their names
(in some cases some parent variables were present in children classes)

Signed-off-by: Vincent Giersch <vincent@giersch.fr>
2016-11-16 19:01:22 +01: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
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
wing328
113843bb88 Merge pull request #4191 from cbornet/fix_import_order
Fix order of imports in operations
2016-11-16 11:02:40 +08:00
wing328
2425a35f45 Merge pull request #4193 from mbohlool/plugin-fix
Add gitUseID and gitRepoID flags to maven plugin
2016-11-16 10:46:17 +08:00
mbohlool
355e694fb2 Add gitUseID and gitRepoID flags to maven plugin 2016-11-15 17:35:13 -08:00
cbornet
c386da6ded fix order of imports in operations 2016-11-15 21:45:15 +01: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
jfiala
1d305b1faf add tests for java client performBeanValidation #2549 2016-11-12 23:09:57 +01:00
jfiala
a9069e8360 add perform beanvalidation flag to ok-http-gson #2549 2016-11-12 22:47:31 +01:00
Tony Tam
cafcf51e3f Merge pull request #4175 from bshamblen/master
Fixes for html2 template
2016-11-11 14:11:15 -08:00
Brian Shamblen
9e309bbfeb Update pet store example 2016-11-11 12:27:32 -08:00
Brian Shamblen
1e85ffaf04 Fixes #4097 2016-11-11 12:25:32 -08:00
Brian Shamblen
265d635eee Add markdown support to descriptions 2016-11-11 11:41:08 -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
wing328
98a26c3922 Merge pull request #4172 from mbohlool/preload_content
testcase for _preload_content flag
2016-11-11 11:47:26 +08:00
mbohlool
cfd8add825 Add test for _preload_content flag 2016-11-10 14:24:06 -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
68e1afdc9e Merge pull request #4158 from wing328/java_null_response_type
[Java][JAX-RS] add vendor extension to handle void response in jaxrs-cxf
2016-11-08 21:42:45 +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
d5ced7df38 Merge pull request #4155 from wing328/produce_consume_exception
Better handling of */*
2016-11-08 16:43:20 +08:00
wing328
935bdfe628 better handling of */* 2016-11-08 16:17:51 +08:00
wing328
77d3c0cb20 Merge pull request #4125 from ircecho/multiword
DART: multi-word class names work properly now, fixes #4117
2016-11-08 15:48:29 +08:00
wing328
c54797bcef Merge pull request #4152 from mbohlool/fix_python_client
Select application/json content-type in python generated client, if */* is in the list of content-types
2016-11-08 11:11:06 +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