cbornet
1619486578
Add reactive option for Spring Boot (webflux)
2018-05-05 17:26:08 +02:00
Akihito Nakano
08e0393def
Fix missing examples ( #305 )
...
* Fix missing examples
* support ArraySchema
* Refactor: move the logic to generate samples from DefaultCodegen to ExampleGenerator
* Delete unnecessary argument
OpenAPI is passed in constructor
* Delete unnecessary 'import'
* Update samples ( bin/springboot-petstore-server.sh )
* Update samples ( bin/openapi3/nodejs-petstore-server.sh )
2018-05-04 17:25:49 +08:00
Jérémie Bresson
4dc519b4fe
Rename groupId for java-play-framework ( #310 )
2018-05-04 10:22:42 +02:00
Jérémie Bresson
0ba2a9a250
Update java play framework samples OAS2 ( #286 )
...
* Regenerate play framework examples
* Add 'samples.ci' for manual files and update scripts
2018-05-03 08:19:59 +02:00
William Cheng
9cf185912c
Fix Scalatra petstore sample ( #300 )
...
* restore scalatra from codegen
* regenerate scalatra oas2 petstore, fix defaut value
* better code format for scalatra
* more format fix for scalatra
* update scalatra parameter template
2018-05-03 13:26:04 +08:00
Jérémie Bresson
1492df6cef
Override server port for Jetty configuration ( #246 )
2018-05-02 07:11:29 +02:00
William Cheng
42aebe4367
Update Lumen generator petstore with OAS2, OAS3 ( #256 )
...
* update php lumen with oas3 petstore
* update lumen with oas3 pestore
2018-04-30 16:12:25 +08:00
William Cheng
7ad92572e4
Update default value for PHP server generators (slim, silex) ( #272 )
...
* update php slim samples
* update php silex samples
* update php silex default value
2018-04-30 15:18:13 +08:00
William Cheng
c60010c965
Update default value for Perl, Ruby, ROR generators ( #265 )
...
* rename perl genreator default
* update ruby sinatra default
* rename ror default value
2018-04-29 20:37:12 +08:00
William Cheng
2ce721d0b9
Update PHP ZE-PH server samples with OAS2, OAS3 ( #259 )
...
* update php ze-ph samples with oas2
* update zeph samples with oas3
2018-04-28 21:48:50 +08:00
William Cheng
490255025e
Update PHP Slim server samples with OAS2, OAS3 ( #258 )
...
* update php slim server petstore with oas2
* update php slim petstore with oas3 (no diff)
2018-04-28 21:48:40 +08:00
William Cheng
7621deeb9f
Update PHP Silex server petstore with OAS2, OAS3 ( #254 )
...
* update php silex with oas2 petstore
* update php silex with oas3 petstore
2018-04-28 21:48:22 +08:00
William Cheng
69133d3677
Update PHP Symfony server petstore with OAS2, OAS3 ( #255 )
...
* update php symfony with oas2 petstore
* update php symfony with oas3 petstore
2018-04-28 14:38:37 +08:00
Jérémie Bresson
3f976afca8
Generate vertx OAS2 ( #226 )
2018-04-27 10:19:48 +02:00
William Cheng
049eef9c53
Test erlang client, server petstore ( #235 )
...
* test erlang client, server petstore
* rename tests, replace tab
* install rebar3 in shippable ci
2018-04-26 18:12:00 +08:00
Jérémie Bresson
19b0d37c38
Generate java-msf4j ( #225 )
2018-04-26 10:41:17 +02:00
Jérémie Bresson
52391ed9e5
Regenerate all jaxrs examples ( #234 )
2018-04-26 13:54:41 +08:00
William Cheng
df26bcb40c
Update Erlang server samples with Petstore OAS2 ( #150 )
...
* update erlang server samples with petstore oas2
* fix compilation in erlang server
2018-04-26 13:34:02 +08:00
Jérémie Bresson
4924b4951c
Generate java-pkmst ( #223 )
2018-04-25 07:01:48 +02:00
Jérémie Bresson
6f28209ccc
Generate java inflector OAS2 ( #222 )
2018-04-25 07:01:32 +02:00
Jérémie Bresson
25ccef818d
Rename default package for spring generator ( #221 )
2018-04-24 18:20:44 +02:00
Jérémie Bresson
949ef4453a
Generate java spring OAS2 ( #216 )
2018-04-24 16:26:52 +02:00
William Cheng
2c6380c846
fix inner item (list, map) for play framework ( #217 )
2018-04-24 19:02:10 +08:00
Jérémie Bresson
5340c35ce1
Rename sagger metadata and more ( #208 )
...
* Rename groupId, artifactId, project name, title, ...
* Remove .swagger-codegen/VERSION file
2018-04-24 08:08:53 +02:00
Jérémie Bresson
d5d8c356b7
Rename default packages for jaxrs generators ( #209 )
2018-04-24 06:26:42 +02:00
Jérémie Bresson
6983dcffa2
Update all jaxrs examples ( #144 )
2018-04-23 12:17:14 +02:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
Jérémie Bresson
2e50780e1d
Remove "swagger-" prefix from artifactId ( #170 )
...
* Remove "swagger-" prefix in the samples artifactId
* Rename some artifactIds to make them unique
2018-04-21 12:31:21 +02:00
William Cheng
93bf3d91ea
Update C++ Pistache samples with oas2, oas3 ( #166 )
...
* restore pistache from codegen 2.x
* update pistache samples with oas2
* update pistache with oas3 petstore (no diff)
* restore datatype for array of model
* update pisache server scripts
* Revert "restore datatype for array of model"
This reverts commit 3b949a3873f3fca78311065173eda26e786dedec.
* fix array of models in method signature
2018-04-21 00:40:45 +08:00
Jérémie Bresson
d21e4227a6
Update finch Petstore OAS2 ( #126 )
...
* Update finch sample
* Udpate 'finch' samples
* update finch with oas3 petstore (no diff)
2018-04-20 21:52:22 +08:00
William Cheng
8a4f905892
Update C++ Restbed server samples with OAS2, OAS3 ( #165 )
...
* restore restbed samples from codegen2x
* update restbed samples with oas2
* update restbed sample with oas3 (no diff)
2018-04-20 19:07:42 +08:00
William Cheng
28a1255c0e
Update Go server petstore sample with OAS3 ( #154 )
...
* restore go server from codegen 2x
* update go server petstore with oas3
2018-04-20 12:05:27 +08:00
William Cheng
686ff6a502
Go server petstore update (OAS2, OAS3) ( #146 )
...
* restore go server petstore from codegen 2x
* update go server petstore (oas2) - no diff
* update go server samples (oas3)
* add go petstore server script
2018-04-19 21:57:22 +08:00
William Cheng
74ddbf7a16
update scalatra with oas2 spec ( #131 )
2018-04-19 09:16:52 +08:00
William Cheng
05f5c5798b
Update html, dynamic-html petstore, fix example value for form parameters ( #122 )
...
* update dynamic-html samples with oas2
* update dynamic-html oas3 (no change)
* update html petstore (oas2)
* update html petstore with oas3
* fix example value for form parameters
* fix javadoc string
2018-04-18 17:42:38 +08:00
William Cheng
08038ddc30
update haskell servant samples with oas3, oas2 ( #116 )
2018-04-18 01:48:49 +08:00
William Cheng
ddf10b98dc
Update NodeJS server petstore samples with OAS2, OAS3 ( #113 )
...
* update nodejs server oas2
* update nodejs server petstore with oas3
* update nodejs google cloud with oas2 petstore
* update nodejs server google function with oas3
2018-04-17 22:58:13 +08:00
William Cheng
0fc84687ff
update rails petstore (oas3) ( #111 )
2018-04-17 21:03:00 +08:00
Jeremie Bresson
53597764c3
Add OpenAPI spec 3.0 support (beta)
...
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
William Cheng
e7f4fb3c45
Fix nodejs-server path issue in windows platform ( #7808 )
...
* fix nodejs-server path issue in windows platform
* only replace character in apiPackage
2018-03-12 23:21:07 +08:00
Simon Sprünker
f00a1ef52c
[JAVA] Fix #7734 : Correct consumes/produces attributes for Spring Controllers ( #7760 )
...
* fix #7734 : Correct consumes/produces attributes for Spring Controllers
* fix #7734 : Update petstore
2018-03-08 22:56:43 +08:00
Adam Conway
ff1178ad7e
[Java][Spring] fix optional query params missing in generated swagger ( #7607 )
...
* Added genericModelSubstitutes if using Optional
As per https://github.com/springfox/springfox/issues/1848 Doesn't seem to fix the problem, but is what springfox recommends so might be aprt of it.
* Added config package to scans
If you have defined apiPackage and basepackage (e.g. as com.example.api) but not defined configPackage then config is still in io.swagger.config and is not included in the component scan. This means the config is not used when generating the swagger definition from the code. Fixed by including configPackage also in the scan.
* Ran spring-all-pestore.sh update script
* Converted tabs to spaces
* Ran spring-all-pestore.sh update script
2018-02-23 00:02:38 +08:00
shigeru.nakajima
dcad9ae807
[Rails5] make version of the generated Rails stub server to strict Rails 5.0 ( #7700 )
2018-02-22 15:57:14 +08:00
William Cheng
854b5012be
fix NPE when host is undefined ( #7633 )
2018-02-10 17:11:11 +08:00
Jim Schubert
8668175879
[aspnetcore] Fix string enum generation ( #7581 )
...
* [aspnetcore] Fix enum strings generation regression
* [aspnetcore] Regenerate sample
2018-02-08 14:43:47 +08:00
wing328
5d92717dc9
update jaxrs to listent at port 10080
2018-01-30 00:23:08 +08:00
wing328
7c20316755
update artifict id for jaxrs datelib j8
2018-01-29 13:51:21 +08:00
wing328
cf21ac0327
update spring petstore samples
2018-01-29 01:38:13 +08:00
wing328
87cdddcf17
add CI test for JAXRS datelibrary java8
2018-01-29 00:35:09 +08:00
jarlesat
88c5112f2e
Adds support for returning response in jaxrs-spec interfaces ( #7442 )
...
* Issue 7440 Added support for returning response in jaxrs-spec interfaces.
* Issue-7386 Updates samples for jaxrs-spec interfaces introduced in issue 7386.
2018-01-28 15:19:30 +08:00