wing328
01eba1872e
update java okhttp petstore sample
2017-03-13 00:23:55 +08:00
wing328
7733dba002
Merge branch '2-call-visibility' of https://github.com/jdupouy/swagger-codegen into jdupouy-2-call-visibility2
2017-03-13 00:21:22 +08:00
wing328
366f66d822
Update link to maven jar
...
update link with http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.2/swagger-codegen-cli-2.2.2.jar instead
2017-03-12 23:05:27 +08:00
Arne Jørgensen
0b9aaad1c2
Build and upload Swagger Codegen CLI Docker image on release ( #4912 )
...
* Run mvn in batch-mode to be less verbose on download
* Build and upload Swagger Codegen CLI Docker image on release
* Ensure we only push master and tags to Docker Hub
2017-03-12 17:09:47 +08:00
Paŭlo Ebermann
c76f006067
fix (partially) #4898 for dart. ( #5019 )
2017-03-12 17:08:48 +08:00
jfiala
39eba39625
[Jaxrs-cxf] add ApiResponse/s to operation #4718 ( #4920 )
...
* add ApiResponse/s to operation #4718
* use spaces instead of tabs #4718
* fix alignment issues #4920
* fix alignment issues #4920
* replace tabs with spaces #4920
* updated samples #4920
2017-03-12 16:58:19 +08:00
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
Kyle Maxwell
a201b01adc
Ultra minor spelling fix ( #5029 )
2017-03-12 14:11:53 +08:00
ravinikam
c4bd4c9e91
Add missing number type mapping ( #5013 )
...
number to float or double type mapping was missing, added number to double to accommodate both.
2017-03-11 23:03:37 +08:00
wing328
4bf0fd6ad4
Merge branch 'ravinikam-patch-2'
2017-03-11 20:40:42 +08:00
wing328
82ccbc09f7
update cpprest petstore sample
2017-03-11 20:40:22 +08:00
wing328
3dfa423151
Merge branch 'patch-2' of https://github.com/ravinikam/swagger-codegen into ravinikam-patch-2
2017-03-11 20:36:45 +08:00
wing328
0ce6c7e3a8
do not map UUID as model in java ( #5026 )
2017-03-11 20:32:46 +08:00
Paŭlo Ebermann
2b9b0f31dc
remove indentation of the comment ( #5011 )
...
This template seems to lead to people wrapping their code with indented code markers, which won't work.
Hopefully not indenting it here helps a bit.
2017-03-11 17:29:59 +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
dfc0b7e3f8
Updated parser to release version
2017-03-10 20:53:03 -08:00
Tony Tam
429c2113a0
Merge pull request #5017 from swagger-api/issue-5016
...
null out the string `null` in examples. Rebuilt java clients
2017-03-10 13:06:05 -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
ravinikam
a29c8c937a
Update exception message to use operationId
...
Update ApiException to use {{operationId}} variable to correct typo
2017-03-10 12:41:15 -06:00
Tony Tam
3ff4c988b8
Merge pull request #4999 from swagger-api/issue-4998
...
updated parser
2017-03-10 09:46:12 -08:00
Tony Tam
f9835a4b37
matched key to actual value
2017-03-10 09:31:02 -08:00
Tony Tam
db4945fdbf
added type check
2017-03-10 09:30:49 -08:00
Julien Dupouy
3da8654336
Change build call visibility
2017-03-10 18:05:27 +01:00
wing328
d9ee34e250
Update travis.yml to cover Java-related server stubs ( #4992 )
...
* update travis to cover more test cases
* update artifactid
* update artifactid for msf4j
* update pom for better test naming
2017-03-10 22:22:40 +08:00
Jean-François Côté
20c8f9a831
Java Play Framework Server Generator ( #4943 )
...
* First commit of the Java Play Framework server generator. It is highly based on Spring so there might me a couple of things that don't make sense (like options or parameters) for the Play Framework.
* Fix suggestions in the PR discussion + add .bat and .sh file as requested.
* Updated Readme.md file
* Remove unused mustache file + fix baseName vs paramName in all the mustache files.
* Fix the compilation error when we have a body which is a list or map. Doesn't fix the problem with the annotation itself.
* Fix the problem with the Http.MultipartFormData.FilePart
2017-03-10 22:10:49 +08:00
David Biesack
ec3b338988
Improve HTML output for model titles, default responses ( #4991 )
...
Render "default" instead of 0 for response code when Swagger uses "default" (#4982 )
Add title for models to TOC and each model's section
Render model description only conditionally.
Remove extraneous Up link
Regenerate samples/html/index.html
2017-03-10 21:47:20 +08:00
Tony Tam
dc8d04eb1c
updated parser
2017-03-09 23:41:31 -08:00
Bernhard Döbler
bfa8d350b3
JS files were replaced in the lib folder; include new ( #4985 )
...
Fix https://github.com/swagger-api/swagger-codegen/issues/4983
2017-03-09 23:18:11 +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
Rohit Sood
11856e9712
Update Spring Fox dependency version to 2.6.1. This fixes a defect where Swagger and Feign clients do not conflict when registration occurs with Eureka.
2017-03-09 09:54:49 -05: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
wing328
5dbcf6e8e4
[JavaScript] fix issues with boolean CLI options ( #4974 )
...
* remove commented code
* fix issue with boolean clioption in js codegen
2017-03-08 16:57:29 +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
871b3ceef7
update templates and samples for spring-boot #4719 ( #4736 )
2017-03-07 23:35:21 +08:00
jfiala
2f43f98cfa
update beanvalidation templates and samples jersey2 #4719 ( #4732 )
2017-03-07 23:35:06 +08:00
jfiala
6a7340378a
update beanvalidation templates + samples #4719 ( #4733 )
2017-03-07 23:34:40 +08:00
jfiala
1e8312782b
[Jaxrs-spec] Merge beanValidation/beanValidationParams.mustache ( #4731 )
...
* update beanvalidation templates #4719
* update jaxrs-sample #4719
2017-03-07 23:26:30 +08:00
jfiala
c4475861b0
update beanvalidation templates #4719 ( #4734 )
2017-03-07 23:26:06 +08:00
jfiala
6383872b5f
update beanvalidation templates and sample for jersey2 #4719 ( #4735 )
2017-03-07 23:25:21 +08:00
wing328
f236b08877
minor formatting fix
2017-03-07 23:23:38 +08:00
stevecookform3
290cb7c331
fix path/query parameters ( #4959 )
2017-03-07 22:23:55 +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