Commit Graph

8597 Commits

Author SHA1 Message Date
Yohana Khoury
7ae0bb6e67 Update README.md (#5328)
Added GigaSpaces to Companies Using Swagger Codegen
2017-04-05 14:49:22 +08:00
wing328
956e7b4cb5 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-04 23:04:25 +08:00
wing328
22c80588f6 fix retrofit2 rxjava2 script (#5321) 2017-04-04 22:58:03 +08:00
Paŭlo Ebermann
f0b0226e46 [Java][JaxRS][Spring-MVC] Update samples for jaxrs with Jersey 1/2 and for spring-mvc (#5212)
* Update samples for Spring-MVC.

* Update samples for Spring-MVC-Jav8-async.

* Update samples jaxrs/jersey1.

* Update samples jaxrs/jersey2.

* Update samples spring-mvc

* Update samples spring-mvc-j8-async
2017-04-04 21:41:22 +08:00
wing328
ad2552ace6 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-04 15:27:17 +08:00
Paŭlo Ebermann
8bd67c9f7f Fix template directory used by samples script. (#5284) 2017-04-04 14:47:22 +08:00
Paŭlo Ebermann
ffb4d52469 Update security samples: server (#5285) 2017-04-04 14:44:59 +08:00
Paŭlo Ebermann
41b04e0e01 Update security samples for typescript-clients (Angular1/2). (#5288) 2017-04-04 14:44:25 +08:00
Paŭlo Ebermann
ca976c524a Update security samples for ObjectiveC client. (#5286) 2017-04-04 14:44:09 +08:00
Paŭlo Ebermann
35ce3f48b9 Updating security samples for C++/QT5. (#5291) 2017-04-04 14:43:52 +08:00
Paŭlo Ebermann
66bf83e911 Update security samples for Javascript clients (#5289) 2017-04-04 14:43:25 +08:00
Paŭlo Ebermann
0695a58f3c Updating security samples for Python client. (#5294) 2017-04-04 14:42:48 +08:00
Paŭlo Ebermann
7462cf70cf Updating security samples for PHP client. (#5293) 2017-04-04 14:42:01 +08:00
Paŭlo Ebermann
cac803351b Updating security samples for Go-client. (#5290) 2017-04-04 14:41:43 +08:00
Paŭlo Ebermann
f44949db58 Update security samples for Ruby-Client. (#5287) 2017-04-04 14:41:22 +08:00
Paŭlo Ebermann
bebeac8ae8 Updating security samples for Perl. (#5292) 2017-04-04 14:40:58 +08:00
Paŭlo Ebermann
f7b39a85a5 Updating security samples for scala. (#5295) 2017-04-04 14:40:36 +08:00
Paŭlo Ebermann
eb3565b6c0 [C#] Fix guid for C# security samples (#5283)
* Issue #5196: also fix the packageGuid for the C# security samples.

* Update C# security samples.
2017-04-04 14:38:47 +08:00
wing328
8eead58afc add links to release 2017-04-04 13:59:00 +08:00
Ian O'Neill
f303183b44 [JaxrsResteasy] Fix JacksonConfig package and RestApplication imports (#5302) (#5303)
This is for the EAP version specifically.

* The JacksonConfig class always used the io.swagger.api package
* The RestApplication class did not import the service implementations
  from the correct package
* Added shell script for generating test applications
2017-04-04 00:43:40 +08:00
wing328
971a7d0fe8 Merge pull request #5307 from swagger-api/csharp_multi_query
[C#] Add support "multi" collectionFormat query string parametershttps://github.com/swagger-api/swagger-codegen/pull/2790
2017-04-03 17:32:39 +08:00
wing328
c5e6401b89 fix C# api client template for multi query parameter support 2017-04-03 16:55:55 +08:00
wing328
5453d61a4c fix PrepareRequest method signature 2017-04-03 16:45:32 +08:00
Sean O'Hare
f102d675d6 Initial commit to support "multi" formatted collections as query strings in csharp. 2017-04-03 16:36:29 +08:00
wing328
3f8f13e3fd Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-03 15:49:44 +08:00
wing328
e5b3e3cdac replace tab with 4space for ts jquery client (#5299) 2017-04-03 15:48:51 +08:00
baartosz
2315ef2a7f Php client using guzzle6 & psr7 instead of curl (#5190)
* reimplemented basic requests with httpplug

* added returning headers

* added query params support

* removed constant reference to model class

* some extra @throws; form params

* form and query params encoding

* file upload / form multipart

* added missing response headers in WithHttpInfo calls

* removed Store test From PetApiTest class

* removed configuration overriding test as its now task of client adapters

* updated store tests with new client initialization code

* updated composer.json template

* not using json_decode if response is string

* renamed some variables to camelCase

* removed ApiClient and Configuration classes

* added HeaderSelector template

* added ObjectSerializer injection

* regenerated all samples

* added AuthConfig and readded support for custom api keys

* readded support for oauth tokens

* readded basic auth; moved auth tests to separate test class

* readded header params

* readded support for collections in paths

* readded  config option; readded exception handling

* file downloading; readded some Configuration properties removed earlier

* readded default headers

* made responses and return types work same way as earlier

* made all methods static in ObjectSerializer

* updated test.php, replaced autoload.php with composer's autoloader

* updated api doc template

* removed classes used for testing; regenerated Fake_classname_tags123Api

* replaced httplug with guzzle6

* updated required php version to 5.5

* clean up

* readded missing userAgent feature; removed default headers from Configuration

* updated test.php

* downgraded phpunit back to 4.8 to work with php5.5; fixed client initialization in some tests
2017-04-03 15:47:57 +08:00
wing328
028cbc77b6 Merge branch '2.3.0' of https://github.com/swagger-api/swagger-codegen into 2.3.0 2017-04-03 15:05:58 +08:00
wing328
d1350b006e comment out scala test 2017-04-03 15:05:02 +08:00
clasnake
39bd0175b7 Pr4855 cherrypick (#5115)
* Add async support to scala client.

* Format api endpoints.

* Modify build.sbt.

* Change date format and pass StoreApis tests.

* Add StringReader and StringWriter to support string serialization/deserialization.

* update petstore samples for scala clients

* Update maven and gradle dependency. Update tests to pass compilation.
2017-04-03 15:01:43 +08:00
wing328
cf8a9a0de0 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-03 14:54:50 +08:00
wing328
7db3388fdc Update maven compiler plugin to the latest version (3.6.1) (#5300)
* update maven compiler plugin to the latest version

* update feign petstore
2017-04-02 21:39:48 +08:00
wing328
2e8eea9c18 add logic to camelize path variables for feign client (#5301) 2017-04-02 19:01:43 +08:00
Paŭlo Ebermann
ce41a343d8 Updating all samples (except feign) (#5281) 2017-04-02 17:01:15 +08:00
wing328
4916142450 Merge remote-tracking branch 'origin' into 2.3.0 2017-04-02 16:06:33 +08:00
wing328
071c012f85 Replace tab with 4 space in Java files (#5298)
* replace tab with 4 space in java files

* revise error message in shell script

* print result before checking

* revise grep expression
2017-04-02 16:05:40 +08:00
jfiala
ca6b5d09d0 [Jaxrs-cxf] Add check for useGenericResponse for jaxrs-cxf server + client (#4779)
* add check for useGenericResponse for jaxrs-cxf

* move check for genericresponse to cxf codegen #4713
2017-04-02 16:05:16 +08:00
wing328
dea01c6b70 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-01 21:14:16 +08:00
wing328
bc8e16e3f8 fix package name in mono test script (#5278) 2017-04-01 21:12:17 +08:00
wing328
bfa18a0ce8 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-01 16:39:54 +08:00
Granjow
64c7e23a04 TypeScript client API: Add public getter/setter for base path (#5270) 2017-04-01 16:33:29 +08:00
wing328
e96db74918 update java jersey2 petstore clients 2017-04-01 16:19:31 +08:00
zszugyi
22eb72791c Specify copy option to overwrite existing temp file, otherwise Files.copy throws FileAlreadyExistsException (#5268) 2017-04-01 16:11:00 +08:00
Griffin Schneider
5de19e3214 [Swift3] Fix bug where non-camel-case path params didn't work. (#5267)
* [Swift3] Fix bug where non-camel-case path params didn't work.

* [Swift3] Fix bug where int enums generated non-compiling code. Swift3 integration tests now pass.

* [Swift3] Add a non-camel-case path parameter to petstore-with-fake-endpoints-models-for-testing. This would have caused the Swift3 tests to be broken before 7387e49fef56a624045aa52b65ffb9c19b3853ec.
2017-04-01 16:06:31 +08:00
wing328
22fcea1c91 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-01 15:57:43 +08:00
Benjamin Douglas
5c3fe23e9f Support Swagger collectionFormat encodings in Feign (#5266)
* Support Swagger collectionFormat encodings in Feign

Feign only natively supports the "multi" collectionFormat for encoding lists
of parameter values. This change adds manual encoding of the other formats, such
as "csv" (the default for collections), "tsv", space-separated, and pipes.

* Fix typo in anchor tag.
2017-04-01 15:33:20 +08:00
wing328
21da8b6d9c Merge remote-tracking branch 'origin/master' into 2.3.0 2017-03-31 22:46:31 +08:00
JC Casas
909f392745 fix mustache file for build.bat (#5264)
replace IO.Swagger for {{packageName}} where necessary
2017-03-31 16:30:40 +08:00
wing328
9c18c32b93 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-03-31 01:21:03 +08:00
wing328
b71fe61bb7 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2017-03-31 00:37:05 +08:00