18059 Commits

Author SHA1 Message Date
Tony Tam
689b7321f7 added type check 2017-03-14 12:29:36 +01:00
Paŭlo Ebermann
9be178b26a Merge branch 'master' into new-sync-master-to-2.3.0 2017-03-13 21:42:41 +01:00
Paŭlo Ebermann
22de105895 Merge remote-tracking branch 'upstream/2.3.0' into merge-2.3.0 2017-03-13 21:26:39 +01:00
Paŭlo Ebermann
3a48ba8bfd Update all the samples.
(except clojure + scalatra, because those are broken, will fixed with later master merge.)
2017-03-13 19:50:10 +01:00
Paŭlo Ebermann
8ce4563afc Update samples for okhttp-gson. 2017-03-13 19:27:38 +01:00
wing328
2133861e1f fix retrofit2rx sample due to bad merge 2017-03-14 02:01:02 +08:00
wing328
1f7374957e fix java retrofit2 apiclient due to bad merge 2017-03-14 01:11:50 +08:00
wing328
f1e237f76f resolve java okhttp issue due to merge conflicts 2017-03-14 00:09:01 +08:00
Johannes Stickel
02f2fde65e
Fixes ListBuffer import-mapping for scala 2017-03-13 16:43:47 +01:00
wing328
b5be3f4a04 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2017-03-13 22:07:18 +08:00
wing328
9b281b2180 make bin/java-play-framework-petstore-server.sh executable 2017-03-13 22:06:45 +08:00
wing328
ebfc39e435 use oracle jdk instead in shippable config (#5045) 2017-03-13 22:05:36 +08:00
Paŭlo Ebermann
a2d1edc6f5 Fix (partially) #4898 for groovy (#5030)
* Fix (partially) #4898 for groovy.

This also adds some TODOs for the missing path, form and body parameters.

* Update Groovy samples (after partial fix for #4898)
2017-03-13 21:46:28 +08:00
wing328
722bbb8e1f update clojure test cases after restoring to petstore.json (#5043) 2017-03-13 19:43:09 +08:00
Jeff Haynes
ba380c9dda Issue 4759: Import complex type for body parameters (#4775) 2017-03-13 15:35:21 +08:00
Arne Jørgensen
79e21d98c6 Fix wrong Docker Hub repo in README (#5033) 2017-03-13 13:11:57 +08:00
wing328
6308613012 fix shippable config due to JAVA_HOME issue in openjdk8 (#5031) 2017-03-13 01:53:04 +08:00
wing328
9d64e792a3 add ivy2 to cache sbt install 2017-03-13 00:52:10 +08:00
wing328
a73c735d7e Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2017-03-13 00:49:15 +08:00
wing328
9f5da506fc Merge branch 'jdupouy-2-call-visibility2' 2017-03-13 00:49:04 +08:00
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
Tony Wang
f9683166f3 [Swift3] null enumerations should not cause failure (#4762)
* [Swift3] fix format warnings

* [Swift3] null enumerations should not cause failure

success or failure on numm enumerations should be decided by users

* update petstore

* handle type mismatch and null respectively
2017-03-12 16:36:28 +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