Commit Graph

5031 Commits

Author SHA1 Message Date
wing328 e969b35ea2 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-24 18:07:17 +08:00
wing328 d9026c67aa remove carriage return in resteasy java files 2017-04-24 17:44:27 +08:00
wing328 f09372e2ec replace tab with spaces 2017-04-24 17:27:07 +08:00
wing328 640b16b58a Merge branch 'master' into master 2017-04-24 17:00:27 +08:00
nbruno ddc309ec19 Add support for Spring's RestTemplate in Java client codegen (#5404)
* Add support for Spring's RestTemplate in Java client codegen

Resolves #1176

* Update all Java samples to include change for Jackson enums

Currently enums are deserialized from a String value with an
explicit @JsonCreator. However, they are not being serialized with
this String value. This change introduces the @JsonValue annotation
on the toString() method of enums, so they will be serialized as a
String with the correct value.
2017-04-24 14:40:47 +08:00
wing328 0c5cc4621a Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-23 23:07:28 +08:00
Tomek Cejner f110072ef1 [swift] Open buildHeaders() and requestBuilderFactory property to allow extension. (#5225) 2017-04-23 23:02:21 +08:00
wing328 c8d9450db5 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-23 22:46:10 +08:00
wing328 1277db61bd [Ruby] add generator version to Ruby template (#5459)
* add generator version to ruby template

* remove tab in java generator
2017-04-23 22:41:56 +08:00
wing328 ee5c1b203b fix typo: lamda -> lambda 2017-04-23 22:28:29 +08:00
Rik Sprenkels bd8b2d37c0 Fixes for swagger.json to Java escaping. (#5247) 2017-04-23 19:10:25 +08:00
wing328 397b440e60 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-23 18:36:37 +08:00
Xin Meng c3d51357a8 fix the typescript angular 2 http request option issue #5374 (#5380)
* fix the typescript angular 2 http request option issue #5374

https://github.com/swagger-api/swagger-codegen/issues/5374

add `withCredentials:true` to the request option

*  run ./bin/typescript-angular2-petstore-all.sh to update Petstore samples
2017-04-23 18:31:00 +08:00
manuc66 d869051fb8 Fix Possible null pointer dereference (#5370) 2017-04-23 18:10:25 +08:00
Ian White 26fa547fd2 typescript-angular2: ensuring that dates are strings and datetimes are Dates (#5417) 2017-04-23 17:44:40 +08:00
wing328 f7cbb2c0e6 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-23 15:26:15 +08:00
antihax 3ed1aa8e79 Rewrite of Go Client #2 (#5037)
* Rewrite of Go Client

* Revert to older version of context.Context

* Clean and bulk up concurrency test.

* Correct {{path}} to {{{path}}}

* change custom date type to string.

* Add APIKey authentication

* Correct missing line from resolving conflicts.

Correct missing line from resolving conflicts.
2017-04-22 01:17:18 +08:00
Sergey Novikov 6685f18e5f Reuse allowed values (#5435) 2017-04-22 00:30:52 +08:00
Ravi e9a438b73f [CppRest] Overload toJson for bool in Modelbase (#5448)
* Add operationId in exception message

* add number data type mapping

* fix_issue5434
2017-04-21 22:20:46 +08:00
Mario f61e0d4024 Add RuntimeException option (#5405)
* add option to change Exception to RuntimeException

* rename propertie
remove space in template
2017-04-21 22:13:57 +08:00
Cas Perl 122db78b1a Issue 5375 (#5403)
* use py3 instead of py34

* fixed test to test invalid enum

* ADDED: assign variable in the ctor with property setter to check validity if possible. CHANGE: move required property check to proper place. CHANGE: remove double quotes from allowed_values for none-string enum property

* rebuilt samples

* comment for improvement

* ADDED: post process enum model for python.

* comment

* rebuilt samples

* rebuilt samples
2017-04-21 22:05:54 +08:00
Jean-Maxime Fillau 8144ab6870 Add json format in case contentType is application/json. (#5427)
Signed-off-by: FILLAU Jean-Maxime <jean-maxime.fillau@mapotempo.com>
2017-04-21 22:01:37 +08:00
Tony Tam 247be2f140 fix cache skip 2017-04-20 16:51:15 -07:00
Tony Tam 456b54b24f fix cache skip 2017-04-20 16:49:58 -07:00
Tony Tam 6ea4b4d6f3 fixes #5446 2017-04-20 10:32:27 -07:00
Tony Tam 0382f39780 disable cache 2017-04-20 10:29:12 -07:00
Tony Tam aff529c0a9 updated index file for new editor 2017-04-20 10:29:06 -07:00
Tony Tam c6ee8226a2 updated base image 2017-04-20 10:15:20 -07:00
Julien Fouilhé edb80df0ba fix(swift3): fix infinite loop with inheritance and check if parent decoder exists before calling (#5416) 2017-04-20 22:54:35 +08:00
Julien Fouilhé c65e663a11 fix(swift3): decoders call parents decoders too (#5433) 2017-04-20 22:54:01 +08:00
wing328 6359c064f3 Merge pull request #5250 from auchri/patch-1
[JAVA] Update gradle and android build tools
2017-04-19 15:57:14 +08:00
wing328 813949dd00 add lamda to clean up examples, fix spring tempalate format 2017-04-18 18:14:00 +08:00
Christoph Auer 70e4dad72e java/lib/retrofit2: Fix indent 2017-04-18 11:53:30 +02:00
Christoph Auer 9640e30f48 Update java/lib/okhttp-gson 2017-04-18 11:53:30 +02:00
Christoph Auer 4b88374df4 Update java/lib/retrofit2 2017-04-18 11:53:29 +02:00
Christoph Auer ca87a4b817 Update java/lib/retrofit 2017-04-18 11:53:29 +02:00
Christoph Auer 5b475bcb16 Java/feign: Remove spaces at empty lines 2017-04-18 11:53:29 +02:00
Christoph Auer 83e902ba3f Update java/lib/jersey2 2017-04-18 11:53:29 +02:00
Christoph Auer b2674feb14 Java: Remove spaces at empty lines 2017-04-18 11:53:29 +02:00
Christoph Auer 85a58f3414 Update Java/lib/feign 2017-04-18 11:53:29 +02:00
Christoph Auer 9652ce37f7 Update android/lib/volley 2017-04-18 11:53:29 +02:00
Christoph Auer 84dc2e1dd9 Update android 2017-04-18 11:53:29 +02:00
Christoph 71b12636e4 [JAVA] Update gradle and android build tools 2017-04-18 11:53:28 +02:00
wing328 a17e80dfb1 minor fix to spring use of examples 2017-04-18 01:42:29 +08:00
wing328 3ca77d3cf2 Merge branch 'issue-5310' of https://github.com/elizabetht/swagger-codegen into elizabetht-issue-5310 2017-04-18 00:52:52 +08:00
Julien Fouilhé b1a39ac820 fix(swift3): decoders call parents decoders too (#5369) 2017-04-18 00:03:52 +08:00
wing328 ba32f66714 Merge branch 'spring-resource-file-streams' of https://github.com/LEgregius/swagger-codegen into LEgregius-spring-resource-file-streams2 2017-04-17 23:26:09 +08:00
wing328 c7ccb1a9a9 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-17 23:05:46 +08:00
Eric Bélanger fd289ac6de [JavaSpring] add support for map minProperties and maxProperties bean validation (#5395) 2017-04-17 22:47:21 +08:00
Tino Fuhrmann e858f2390b [TypeScript] fix class filename in import/export (#5396)
* Fixed classFilename in typescript-angular and recreated samples

* Changed classname to classFilename in ts-angular2/models.mustache
Also recreated ts-angular2 sample
2017-04-17 22:43:33 +08:00