Paŭlo Ebermann
16adc7b373
Fix (partially) #4898 for flash ( #5022 )
...
* Fix (partially) #4898 for flash.
This fixes path, query and header parameters.
* Update samples for flash (after partial fix for #4898 ).
2017-03-12 16:53:18 +08:00
wing328
82ccbc09f7
update cpprest petstore sample
2017-03-11 20:40:22 +08:00
XuXinkun
3c1a8daaf9
fix handleResponse to not leak okhttp connections ( #4997 )
2017-03-11 17:02:49 +08:00
wing328
8fb71b46db
cache module directory to improve CI performance ( #5025 )
2017-03-11 16:59:17 +08:00
Tony Tam
0dcd91adbf
null out the string null in examples. Rebuilt java clients and made a whole bunch of changes
2017-03-10 11:07:30 -08:00
pablograna
fb75996527
Make java spring controller constructor public. ( #4972 )
...
* Make java spring controller constructor public.
This lets users manually create the controller and inject the delegate in the
spring configuration file, instead of letting spring scan for controllers and
autowire the delegate.
* Ran spring-all-pestore.sh.
2017-03-09 23:11:44 +08:00
wing328
bfb4390a1c
[TypeScript][Angular2] better code indentation, update Petstore sample ( #4990 )
...
* fix query parameter indentation, update ts angular2 sample
* update ts angular2 sample
2017-03-09 22:27:29 +08:00
baartosz
cffaaa027a
minor improvements to Configuration php template ( #4989 )
2017-03-09 17:28:19 +08:00
wing328
4fe79f0078
Remove default format (JSON) from API operations ( #4987 )
...
* remove default format (json) and update ruby petstore
* update python petstore sample
* update php petstore sample
* update android petstore sample
* update java petstore sample
* update objc sample
* remove default format (json) from perl
2017-03-09 11:12:01 +08:00
wing328
b6d6356c46
remove default format (json) from c# api ( #4980 )
2017-03-08 22:43:59 +08:00
baartosz
d21e156071
[PHP] error when deserializing enums #4032 ( #4886 )
...
* fixed enum template; added enum handling to ObjectSerializer
* regenerated templates
* improved InvalidArgumentException message
* regenerated sample client
* added value check of OuterEnum during sanitization
* regenerated samples
2017-03-08 19:08:42 +08:00
Michael Kourlas
2bb7626202
[Java] Fix for issue #3365 : Support for gzip compression ( #4967 )
...
* Fix for issue 3365 for Java
* Added tests
* Convert CRLF to LF
* Convert CRLF to LF in tests
2017-03-08 19:00:50 +08:00
wing328
89ad5e59b8
use convertPropertyToBooleanAndWriteBack in some generators ( #4975 )
2017-03-08 17:39:22 +08:00
delenius
5935e2e6d9
Add support for saving/returning cookies ( #4192 )
...
This adds a `saveCookies` boolean flag to ApiClient. If set to true,
the client will save and return cookies to the server.
This is useful for supporting @SessionScoped beans in Java servers.
Works both in Node.js desktop apps, and in the browser.
2017-03-08 15:26:46 +08:00
Kyle Maxwell
3e3d360027
Add proxy support to fix #4639 ( #4946 )
...
* Add proxy support to fix #4639
* Update sample app for testing
* Fix indentation and remove leftover code
* Update sample for new rest template
2017-03-08 12:03:45 +08:00
jfiala
6383872b5f
update beanvalidation templates and sample for jersey2 #4719 ( #4735 )
2017-03-07 23:25:21 +08:00
Paŭlo Ebermann
404a9999a7
Fix (partially) #4898 for swift3 ( #4916 )
...
* fix (partially) #4898 for swift3.
* Update petstore samples for swift3 (after fix for #4898 )
2017-03-07 17:28:08 +08:00
Val Polouchkine
122194c30e
Fix typo ( #4956 )
...
Authorizatoin should be Authorization
2017-03-07 13:49:42 +08:00
wing328
f12554fd83
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-03-06 17:24:04 +08:00
wing328
2dee8381e8
update petstore sample for swift3
2017-03-06 17:23:32 +08:00
Zhanwei Wang
10950db2dd
[JavaScript] Do not parse null and undefined as type. ( #4933 )
...
* [JavaScript] Do not parse null and undefined as type.
* update pet store example for #4932
2017-03-06 15:01:19 +08:00
Paul English
5d327e66a1
Port the optional/enum template logic from async-scala to the regular scala client ( #4849 )
...
* Port the optional/enum template logic from async-scala to the regular scala client
* oops, accidently pulled template from akka-scala which has custom logic for enum
Just going to avoid enum for now, considering I'm not sure what scala client
will be official
* Update tests to use option
2017-03-06 14:50:21 +08:00
Viktor Chukhantsev
35d3fb82ce
[Ruby] Can only use content-type application/json with ruby-client #4867 ( #4893 )
...
* Fix ruby-client work with modern content types, like application/api.vnd+json
* Add specs.
* Fix regexp.
* Regenerate petstore client.
2017-03-06 00:44:15 +08:00
Paŭlo Ebermann
a91cbbe387
Update samples after 2.2.2 ( #4901 )
...
* Update petstore samples for Groovy.
* Update samples for JaxRS.
* Update samples for cpprest.
* Update samples for dart.
* Update samples for flash.
* Update samples for go.
* Update samples for html2.
* Update samples for lumen.
* Update samples for nancxfx.
* Update samples for objc.
* Update samples for sinatra.
* Update samples for tizen.
* Update samples for java-inflector.
2017-03-06 00:33:57 +08:00
Vlad Frolov
9516c81ebb
[JavaScript] Added *WithHttpInfo methods in 'usePromises' mode to provide a way to get access to HTTP response object (e.g. headers or status code) ( #3654 ) ( #4902 )
2017-03-03 18:20:52 +08:00
patulacci
e23a24c138
replaced SWG by classPrefix and ran tests ( #4871 )
2017-03-03 17:29:16 +08:00
wing328
dbe99c3af9
fix path variable in ts angular2 ( #4756 )
2017-03-03 16:59:23 +08:00
gigo1980
fa803d5cf5
Adjust Date ISO Dateformat for Query Parameters: ISSUE 4745 ( #4812 )
...
* Adjust Date ISO Dateformat for Query Parameters: ISSUE 4745
* Run Sample Model
2017-03-03 16:58:24 +08:00
Hamed Ramezanian Nik
b894dc3827
Encode form paramerers properly\n ( #4836 )
...
Superagent doesn't encode form parameters properly. For example it doesn't encode objects which contain array. The following is a failed test case:
var my_opts = {
'storyId': 65441,
'id': [56, 352]
};
2017-03-03 16:48:11 +08:00
Paŭlo Ebermann
0dab200f28
Update spring samples with current code. ( #4874 )
...
* Update spring samples with current code.
This is done so I can see my own changes better.
* Regenerate samples after 2.2.2.
2017-03-03 16:34:07 +08:00
Bartek Kryza
1b1767e489
[Bash] Bugfix default curl options fix ( #4832 )
...
* Fixed default cURL parameter handling
* Fixed iterator increments in JSON body Bash generator
* Added tests for content type and default cURL params
* Fixed generated Dockerfile Bash script access rights
* Generated test sample client
* Updated Bash generator README
2017-03-02 17:48:30 +08:00
baartosz
26257daec3
fixed ApiException's methods return types ( #4845 )
2017-03-02 16:45:42 +08:00
Tony Tam
041da8998a
rebuilt
2017-03-01 09:55:42 -05:00
Paul English
accd176382
Ensure that ApiInvoker.scala can support UUID types ( #4807 )
2017-02-16 17:00:26 +08:00
wing328
26b1aa2b60
update ts fetch petstore samples
2017-02-15 16:24:57 +08:00
wing328
8f2e9bce6d
remove trailing whitespaces in java api client ( #4784 )
2017-02-13 18:53:34 +08:00
wing328
ef31efe8d9
remove default temp folder during initalization ( #4749 )
2017-02-09 12:22:13 +08:00
Jan
0d14496bd6
[Java-retrofit] Fix for #4750 String comparison with equals ( #4751 )
...
* [Java-Feign] Fixed String comparison using equals instead of == operator
* [Java-Feign] Updated ApiClient with ./bin/java-petstore-feign.sh
* [Java-retrofit] Fix for #4750 String comparison with equals
2017-02-08 21:54:56 +08:00
wing328
d91135ec8f
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-02-08 17:00:01 +08:00
wing328
882c3ecba5
update java petstore with new uuid mapping
2017-02-08 16:07:09 +08:00
Jan
2179b44413
[Java-Feign] Fixed String comparison using equals instead of == operator ( #4740 )
...
* [Java-Feign] Fixed String comparison using equals instead of == operator
* [Java-Feign] Updated ApiClient with ./bin/java-petstore-feign.sh
2017-02-08 15:56:40 +08:00
Bartek Kryza
73395bce44
[Bash] Bash generator improvements ( #4730 )
...
* Removed trailing spaces
* Fixed autocomplete support for bash-completion < 1.4
* Added mime type autocomplete for Zsh
* Fixed Bash url autocompletion
* Fixed Zsh space after operation arguments and added trim to descriptions
* Added generation of Dockerfile for packaging Bash rest clients
* updated test samples for Bash client generator
2017-02-07 23:15:05 +08:00
Jim Schubert
96b0d155b5
[csharp] Fix enum default value ( #4681 )
...
* [csharp] Prevent enum assign to string
see swagger-api/swagger-codegen#4670
* [csharp] Regenerate client sample
2017-02-06 17:33:10 +08:00
Johannes Herrnegger
95a8192c25
[Typescript-Angular2] Fixes #4703 ( #4704 )
...
* fix issue #4703
* run petstore
2017-02-04 13:00:26 +08:00
wing328
5282987851
[Python] update python requirement.txt and use single quote for safe characters ( #4702 )
...
* update python requirement
* update petstore sample
2017-02-03 21:35:40 +08:00
wing328
a128c075ac
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-02-02 23:30:06 +08:00
wing328
f4fee61e83
update go petstore sample
2017-02-02 23:29:41 +08:00
Adnan Baruni
4b2c4f051b
Issue 3914 ( #4678 )
...
* issue 3914, removed logic that remove header parameters. update template files to handle header parameters in the same manner as other parameters
* update swift and swift3 samples
2017-02-02 23:17:48 +08:00
Valentin Valchev
96ed41a29c
Fixed issue #4665 [go] required object parameters are marked omitempty. ( #4682 )
...
* Fixed issue #4665 [go] required object parameters are marked omitempty.
* Run ./bin/go-petstore.sh as suggested by @wing328.
Please note, that there are quite few changes, that doesn’t come from the diff I’ve applied. Seems the script wasn’t run on the previous commit.
2017-02-01 23:56:22 +08:00
niku
f77bee8b8a
[WIP] Add elixir client ( #4675 )
...
* Add elixir client
* Add test for elixir client
* Add shell script for generating sample codes for elixir client
It just copied from bin/bash-petstore.sh
* Make elixir-petstore.sh to generate sample codes for elixir client
* Add sample codes for elixir client
2017-01-30 17:40:55 +08:00