delenius
c607ea8b31
Add fixes for es6 generator ( #180 )
...
Various fixes for JS (ES6) generator
2018-06-17 01:59:23 +08:00
William Cheng
53d9878cf2
Update Petstore samples ( #331 )
...
* Grammar and spelling fixes
* update petstore samples
2018-06-17 01:33:36 +08:00
William Cheng
05f177b6d6
[PHP-Lumen] Lumen 5.6 support ( #212 )
...
* Lumen 5.6 support
* recall headlines
* Update composer.mustache
* regenerate lumne php petstore samples
* remove output format from lumen routes
* Fix: "A facade root has not been set"
* Ignore log folder
2018-06-16 19:07:13 +08:00
William Cheng
b1921ce484
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2018-06-16 19:03:14 +08:00
William Cheng
cb28ada0aa
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-16 19:02:17 +08:00
John Wang
a20f93b42f
[Golang][client] fix RFC-3339 date-time query param ( #325 )
2018-06-16 00:29:24 +08:00
William Cheng
6c996a7d1a
Various improvement to CI ( #326 )
...
* Various improvement to CI
* trigger a failure
* disable ensure up-to-date script
* move ensure-up-to-date under bin/utils, pipe update to /dev/null
2018-06-15 16:18:31 +08:00
Jeremie Bresson
4a4fb77081
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2018-06-14 13:30:57 +02:00
Jeremie Bresson
dbb44a153d
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-14 13:29:52 +02:00
Stian Liknes
680a2bc3ec
Configuration option to disable HTML escaping when using Gson ( #298 )
...
* Configuration option to disable HTML escaping when using Gson
The default implementation of Gson will escape certain characters by default. This
includes the `=` character, which is used in base64 encoding and cause problems when
deserializing the value to a base64 encoded string in a service.
Adding an option for disabling this feature makes it easier to generate client code
with sane defaults.
* Update Petstore sample
2018-06-14 19:27:52 +08:00
Stian Liknes
24104dac35
Add option modelPropertyNaming to javascript generator ( #299 )
...
* Add option modelPropertyNaming to javascript generator
Fixes 6530
* Update Petstore sample
2018-06-14 19:19:23 +08:00
John Wang
7126074f49
add Go client test - TestPlaceOrder ( #321 )
2018-06-14 14:24:16 +08:00
Benjamin Gill
91d6d77a09
[rust-server] Add rust-server to travis CI ( #308 )
...
* Add rust-server to travis CI
* Install rust correctly (and only once)
2018-06-14 00:05:49 +08:00
Benjamin Gill
6f6a4a1013
[rust-server] (Re-)Adding support for rust-server ( #290 )
...
* First attempt at getting rust-server working
* Solve the problem of spurious 'object's
* We've found the missing models
* Catch some single-var objects correctly
* Get single-param models 'working'
* Got files working
* Remove surplus logging
* Disable some things to get it compiling
* `cargo test` now passes as well
* Create rust-server-specific petstore.yaml
We've commented out a few bits that rust-server doesn't yet support
* Remove commented-out code
And finally get rid of the generation date in the sample
2018-06-13 18:53:03 +08:00
sunn
299527370e
[go-server] Add dockerfile for building and run petstore service ( #274 )
...
* Add possibility to build and run go service in a container
* Remove tabs
* Update Pet Store server sample
* Add {{{packageName}}} instead of petstore
2018-06-13 16:55:04 +08:00
Jeremie Bresson
f5f744ad2c
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2018-06-12 19:38:40 +02:00
Jeremie Bresson
a878749f6c
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-12 16:26:44 +02:00
Christophe Bornet
d2016d8e0a
Fix spring controller validation ( #225 )
2018-06-12 20:45:17 +08:00
Jeremie Bresson
b887efdc1c
Initial commit for 4.0.0-SNAPSHOT
2018-06-12 06:40:07 +02:00
Jeremie Bresson
c223f28171
Initial commit for 3.1.0-SNAPSHOT
2018-06-12 06:27:26 +02:00
Jérémie Bresson
8ae1c814d5
Prepare 3.0.2-SNAPSHOT ( #285 )
...
Set version `3.0.2-SNAPSHOT`.
Follow up from #280
2018-06-11 13:22:03 -04:00
Esteban Marin
0a479f77f6
[typescript-angular] strict type checking ( #218 )
...
* strict type checking
* strict type checking
* generate samples for angular-typescript
2018-06-11 21:31:23 +08:00
Akihito Nakano
2392a09eeb
[C++ server] Adjust the names (script, sample folder, generator) to lang option ( #250 )
...
* Renamce C++ server scripts
* Change output folder
* Rename sample folder: pistache-server -> cpp-pistache
* Rename sample folder: restbed -> cpp-restbed
2018-06-10 22:48:30 +08:00
sunn
f5f00069bd
Removed warnings for packages included in SDK for Net Core 2.0 ( #269 )
...
Microsoft.Extensions.SecretManager.Tools
Microsoft.DotNet.Watcher.Tools
For docker containerized apps, avoiding restore again is important for image size
2018-06-10 08:29:13 -04:00
SiMing Weng
43b60e667e
[Java][RestTemplate] Fix query parameter URL encoding ( #260 )
...
* add URL encoding to the query parameters in case they have unsafe characters
* add comment
* update generated samples
2018-06-10 17:48:26 +08:00
sunn
a2c27ba8a6
[cpp-qt5] Remove std::shared_ptr from Qt5 ( #267 )
...
* Remove std::shared_ptr from Qt5
Updated Petstore
Update Object Template to be able to store the json body
* Remove tabs
2018-06-10 17:39:38 +08:00
Jérémie Bresson
8de5c62cf2
Add JaxRS to bin/ensure-up-to-date ( #248 )
...
* Create bin/java-jaxrs-petstore-server-all.sh
* Run bin/java-jaxrs-petstore-server-all.sh
* Add 'bin/java-jaxrs-petstore-server-all.sh' to 'bin/ensure-up-to-date'
2018-06-09 08:54:27 +02:00
William Cheng
fbe9626b7e
[jaxrs-spec] generate spec file (yaml) correctly ( #243 )
...
Fix #235
2018-06-07 11:08:52 +02:00
Akihito Nakano
cf657f1c7b
[C++] Adjust the names (script, sample folder, generator) to lang option ( #220 )
...
* Rename script: qt5-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder: qt5cpp -> cpp-qt5
* Rename script: cpprest-petstore.sh -> cpp-restsdk-petstore.sh
* Rename sample folder: cpprest -> cpp-restsdk
* Rename generator: CppRestClientCodegen -> CppRestSdkClientCodegen
* Rename script: tizen-petstore.sh -> cpp-tizen-petstore.sh
* Rename sample folder: tizen -> cpp-tizen
* Rename script(security): qt5cpp-petstore.sh -> cpp-qt5-petstore.sh
* Rename sample folder(security): qt5cpp -> cpp-qt5
* Rename script(windows): qt5cpp-petstore.bat -> cpp-qt5-petstore.bat
* Change sample folder
* Rename script(windows): cpprest-petstore.bat -> cpp-restsdk-petstore.bat
* Change sample folder
* Rename script(windows): tizen-petstore.bat -> cpp-tizen-petstore.bat
* Change sample folder
* Change output folder: tizen -> cpp-tizen
* Rename the scripts under bin/openapi3
cpp-restsdk is not exist under bin/openapi3
* Change sample folder
2018-06-07 16:55:43 +08:00
Christophe Bornet
7a1945e154
[Spring] Add apiFirst option ( #184 )
...
* [Spring] Add apiFirst option
* Git diff to see what's wrong
* Git diff to see what's wrong
* Update bin/ensure-up-to-date
* Run bin/ensure-up-to-date
2018-06-07 13:55:12 +08:00
Ben Mordue
0fb1ffa88b
[JAVA][Client] New object instead of null for empty POST request ( #98 )
...
new Object() for empty request body
2018-06-07 06:37:37 +02:00
Jérémie Bresson
69a3852ef7
Make yaml serialization deterministic ( #233 )
2018-06-06 11:47:13 +02:00
Jérémie Bresson
1e5e1d4458
Prepare 3.0.1-SNAPSHOT ( #195 )
...
* Restore version to 3.0.0-SNAPSHOT
* Set version to 3.0.1-SNAPSHOT
* Run ensure-up-to-date
* Remove duplicated version declaration
2018-06-02 10:57:33 +08:00
William Cheng
0fadea9986
update php samples ( #169 )
2018-05-28 23:59:44 +08:00
Mads Føhns
3beeb4e777
#126 : Not-required properties now shows as nullable ( #129 )
2018-05-28 21:33:55 +08:00
William Cheng
c30afdf775
add php server batch files ( #165 )
2018-05-28 19:35:04 +08:00
Geoff Brown
9b8602311e
[TypeScript] Make OpenAPI Generator serialize subclasses properly ( #102 )
...
* Make SwaggerCodeGen serialize subclasses properly (PHNX-859) (#1 )
Motivation
----
Previously, when serializing as subclass of a property, generated swagger clients would only serialize properties of the parent class causing some values to not be pass through
Modifications
----
Before serializing attributes of a given type, we check to see if there is a specific type to be serialized so that we don't miss any properties.
* Fix improper whitespace in mustache template (PHNX-859) (#2 )
Motivation
----
OpenAPI Generator upstream requested whitespace fixes (from tabs to 4 spaces)
Modifications
----
Fixed whitespace
2018-05-28 17:22:14 +08:00
Christophe Bornet
71b5de3ed5
Do not set contextPath for spring-boot ( #104 )
2018-05-28 16:29:09 +08:00
Akihito Nakano
37df59d6f0
[PHP] Adjust the names (script, sample folder, generator) to lang option ( #159 )
...
* Prefix slim-petstore-server.sh with 'php-'
* Prefix slim sample folder
* Prefix ze-ph-petstore-server.sh with 'php-'
* Prefix ze-ph sample folder
* Prefix lumen-petstore-server.sh with 'php-'
* Prefix lumen sample folder
2018-05-28 13:49:47 +08:00
delenius
4d7ff8cfbd
JavaDoc fixes for Java/RESTEasy client ( #151 )
2018-05-26 06:34:38 +02:00
Akihito Nakano
6f23b5061a
Add PHP scripts to bin/ensure-up-to-date
( #155 )
...
* Add PHP scripts
* Run php-petstore.sh (OAS2,3)
2018-05-26 12:46:47 +09:00
Jérémie Bresson
caef014e04
Update 'springboot-reactive' in samples folder ( #147 )
2018-05-24 22:11:46 +02:00
topce
4bc5ffe867
[typescript-angular] add provided in support ( #120 )
...
* add provided in root support
* fix unit test to pass test generation of new options
* set default for providedInRoot to be true
2018-05-24 09:20:16 -07:00
Tomasz Prus
7184f1ec68
[python] asyncio supports _preload_content; remove unsed imports ( #107 )
...
* chore: update python samples
* feat: python/asyncio support for _preload_content
* feat: remove unused imports from python clients; fix discriminator
2018-05-24 08:10:07 -07:00
Christophe Bornet
a3aabd3908
Create a default implementation of delegate if none could be autowired ( #92 )
2018-05-24 07:50:05 -07:00
Jérémie Bresson
00f176ad95
Add 'bin/ensure-up-to-date' script and update Shippable CI ( #136 )
...
* Create 'bin/ensure-up-to-date' script
* Update shippable config
* Do no longer copy 'CI/pom.xml.shippable' to 'pom.xml'
* Fix paths in CI/pom.xml.shippable
* shippable: remove write to file
* shippable: move order
* Run 'bin/ruby-petstore.sh' to update 'samples/'
* Add Kotlin scripts to the list
2018-05-24 10:18:35 -04:00
Jérémie Bresson
3f81378d72
[java resteasy] fix string comparison ( #134 )
...
* Fix StringUtils.isEmpty(..)
* Update all JaxRS samples
2018-05-23 08:38:18 +02:00
Jim Schubert
27426f7b52
Cli generator name option, replaces 'language' options in CLI and Maven Plugin ( #57 )
2018-05-23 05:41:19 +02:00
Jérémie Bresson
b73ab0260e
jaxrs-cxf-cdi: fix outer enum ( #131 )
...
* jaxrs-cxf-cdi: fix model enum
* Fix script 'bin/jaxrs-cxf-cdi-petstore-server.sh'
See https://github.com/OpenAPITools/openapi-generator/pull/124
* Run 'bin/jaxrs-cxf-cdi-petstore-server.sh'
2018-05-22 17:55:19 -04:00
Matthias Baer
f22224574b
Download elm dependencies without prompting user. ( #118 )
2018-05-21 16:23:01 +08:00