Jérémie Bresson
4d7fc046f3
[JaxRS] Add "validation-api" dependency in jetty ( #30 )
...
Fix #28
* Add "javax.validation:validation-api" dependency in jetty
* Update JaxRS and Spring samples
2018-05-13 18:12:01 +02:00
Jim Schubert
52322c47c9
[finch] Allow finch server to compile for CI checks ( #7 )
...
Previous error handling implementation had types returning
Either[CommonError, UserType], but implemented with the scala shortcut
??? which throws an exception instead. This causes compilation to fail
with a message that the expected CommonError is of type Any. This is
often fixable with generic upper bounds constraints, but this is
overkill for a placeholder implementation. Returning a temporary 'TODO'
type solves the compile error, and should allow CI to check for valid
compilation on changes.
Included in this is also a fix to support optional query parameter
types. The spec used to generate the finch server has optional query
parameters, but the version of finch in the template doesn't support
options on query parameters. Finch does, however, aggregate everything
(headers, query string, path parameters, etc) under "param" with
"paramOption" for those which are optional types.
2018-05-13 11:07:14 +08:00
Jérémie Bresson
90b7c89443
Implement hideGenerationTimestamp for kotlin-server ktor ( #416 )
2018-05-11 11:24:56 +08:00
William Cheng
064418ed12
update finch generator's default value ( #394 )
2018-05-11 09:18:49 +08:00
Jérémie Bresson
a07ab606dc
Small fixes in samples ( #410 )
2018-05-10 13:45:12 +08:00
William Cheng
868ede53f9
Update Scalatra's default value ( #403 )
...
* update scalatra default value
* minor rupdate to template
2018-05-10 10:56:11 +08:00
Jérémie Bresson
a00261d3da
Change default package name value for kotlin server ( #387 )
...
* Update default package
* Regenerate samples/server/petstore/kotlin-server/ktor
* Update git ignore
* Add CI
2018-05-09 16:38:16 +08:00
Akihito Nakano
872dd546f4
Update php related samples ( #375 )
...
* Update php client (OAS3)
bin/openapi3/php-petstore.sh
* Update symfony server (OAS2)
bin/php-symfony-petstore.sh
* Lumen: remove 'swagger'
* Update lumen server (OAS2)
* Update php client (security): deleted 'SwaggerClient-php' folder
* Update TEST_DIR
* Update php client tests (OAS3)
bin/openapi3/php-petstore.sh
* Update php client (OAS2)
bin/php-petstore.sh
* Fix
* Fix lumen -> php-lumen
* Update lumen server (security)
* Delete moved files
currently it will generate into under 'lib' folder.
* Fix slim -> php-slim
* Update slim server (security)
bin/security/slim-petstore-server.sh
* Fix
* Update dot files
2018-05-09 10:34:19 +08:00
William Cheng
e2d6f7c88f
update erlang client, server default value ( #378 )
2018-05-09 10:31:42 +08:00
William Cheng
a9fa4cd0db
Update default value for C++ related generator ( #373 )
...
* udpate default value for cpp, remove unused imports
* update cpprest template
* update tizen default value
* update cpp restbed default value
* update qt5cpp samples
* update pistache samples
* regenerate restbed ignore file
2018-05-08 22:10:40 +08:00
William Cheng
0d20f75afc
Update default value, fix example value ( #370 )
...
* fix python flask NPE with oas3
* update perl default value, fix example value
* update android sample, fix example value
* restore x-swagger-router-controller for nodejs server generator
* update default value for bash client, fix example value, invalid tag
* update default value for objc
* update objc pestore core data
2018-05-08 19:51:15 +08:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
William Cheng
0dbb6dcaa6
Update Go generators' default value ( #362 )
...
* udpate go client default value
* update go generators' default value
2018-05-08 10:16:38 +08:00
William Cheng
3758aad225
Update Python flask default value ( #361 )
...
* update python flask default value
* update python flask samples
2018-05-08 10:16:25 +08:00
Jérémie Bresson
e2f8976fa7
Remove old metadata files ( #357 )
2018-05-07 13:31:17 +02:00
William Cheng
d74b4cdf8d
fix map type and collection format for form parameter (array) ( #356 )
2018-05-07 18:22:30 +08:00
Arthur Mogliev
d30fcbabba
Fixes for php-ze-ph generator ( #340 )
...
* Fixes for ze-ph:
- fixed gathering of required properties for query data model
- fixed setting of internal vendor extensions for query data model detection
- fixed small typo in generated README
* Updated samples for ze-ph fixes
2018-05-07 10:22:08 +08:00
Jérémie Bresson
4d3110f29d
Rename default packages for 'java-undertow-server' ( #336 )
2018-05-06 12:34:54 +02:00
Jérémie Bresson
d8fd560d64
Rename default packages for 'jaxrs-spec' ( #333 )
2018-05-06 12:34:36 +02:00
Jérémie Bresson
2103fadab8
Fix package declaration for play-framework ( #332 )
2018-05-06 08:08:34 +02:00
Christophe Bornet
90ac9d030c
Merge pull request #262 from cbornet/reactive
...
[Spring] Add reactive option for Spring Boot (webflux)
2018-05-05 18:01:46 +02:00
cbornet
1619486578
Add reactive option for Spring Boot (webflux)
2018-05-05 17:26:08 +02:00
akihito.nakano
1bd393f4ea
Rename 'keywords' for package.json
2018-05-05 01:43:35 +09:00
akihito.nakano
90438b8e71
Tweak indent
2018-05-05 01:38:23 +09:00
akihito.nakano
6c3d7bbc48
Update nodejs samples which skipped overwriting
2018-05-05 01:36:37 +09: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