Benjamin Gill
d3b1721da0
[rust-server] Update to error-chain 0.12 ( #395 )
...
* Update to error-chain 0.12: 0.11 doesn't work with Rust 1.27.0 (new warnings)
* Revert commit 845df89e95
2018-06-25 18:17:47 +02:00
Akihito Nakano
9e2fcda357
[JMeter] Rename codegen class, template folder ( #387 )
...
* Rename JMeter client generator class name
* Rename jmeter template folder
* Update samples
2018-06-25 13:46:52 +08:00
tomvangreen
38bb732673
Typescript Angular 2: Make service suffix configurable ( #341 )
...
* Added serviceSuffix and serviceFileSuffix parameters to control the suffixes of generated class and file names
* Updated TypeScriptAngularClientOptionsProvider to include the new serviceSuffix and serviceFileSuffix parameters
* Fixed part in generator where hardcoded 'Service' suffix was used.
* Made the . in the service file name part of the config setting
* Updated cli message
2018-06-25 12:17:32 +08:00
Jan Prieser
a0bfe2bf72
WIP: new javascript flowtyped generator ( #176 )
...
New Javascript flowtyped generator
2018-06-25 12:04:10 +08:00
etherealjoy
dd4b1aff2e
Update samples
2018-06-24 00:46:23 +02:00
Yuriy Belenko
36f4452351
[Slim] Upgrade API server integration tests to use Fake Petstore spec ( #354 )
...
* [Slim] Shell script points to petstore-with-fake-endpoints-models-for-testing.yaml. Slim init and new models has been generated.
* [Slim] Bugfix. Special value */* in opperation produces escaped to avoid PHP syntax errors.
* [Slim] Add own private static final LOGGER
* [Slim] Bugfix. toModelName method copied from PHPClient codegen which handles Fake Petstore spec much better.
* [Slim] Sort operations in supporting files data to avoid shadowing static routes.
* [Slim] Mustache index.php update. Params parsing enhanced.
* [Slim] Tiny cleanup. Unnecessary empty space removed.
* [Slim] Security fix. toOperationId method copied from PhpClientCodegen.
* [Slim] Bugfix. formData params parsing restored.
* [Slim] Proper .gitignore added to PhpSlimServerCodegen. Vendor folder with all dependencies removed to keep repo more clean.
* [Slim] Slim dependency update to 3.10.0. Few test fake endpoints fixed by this upgrade.
2018-06-23 12:10:38 +09:00
stkrwork
23ab5177b3
[C++][Pistache] Fix optional error and wrong function signatures ( #264 )
...
* Added missing includes for optional
* Removed shared pointer from pistache generator
* Changed Net namespace to Pistache Namespace
* Clean up code and removed unnecessary lines in mustache files
* Removed remaining shared pointer syntax
* Code review fixes + updated samples
* Added const to all model setter functions, and reference to all params in setters that are not primitives
* Refactored modelbase
* Removed const
* Updated samples
2018-06-22 09:12:35 +08:00
William Cheng
a897feef50
Fix alias to map in the model's properties ( #360 )
...
* add test case for ref to map (boolean) in fake petstore spec
* fix alias to map in model properties
* remove logging from new method
* update samples for the new map test case
* fix javadoc string
* skip testSanitizeNestedInvalidValue in php test
* skip test in php oas3 client
* add logic to handle outer enum
* update samples
* fix alias in model's allOf
* generate models for map def
* update petstore samples
* update petstore samples
2018-06-21 22:59:02 +08:00
William Cheng
a0f71cc328
update go client, server petstore samples ( #365 )
2018-06-21 21:59:56 +08:00
Akihito Nakano
e23b2f6fcc
[Scala][client] Rename script, sample folder, template dir ( #334 )
...
* Rename scripts akka-scala-petstore.sh -> scala-akka-petstore.sh
* Rename sample folder: akka-scala -> scala-akka
* Rename templateDir: akka-scala -> scala-akka-client
* Rename scripts: scala-petstore.sh -> scala-httpclient-petstore.sh
* Rename sample folder: scala -> scala-httpclient
* Rename templateDir: scala -> scala-httpclient
* update circle pom.xml for new scala path
* remove duplicated scala test
2018-06-21 17:28:58 +08:00
Joe Elliott
5b5fe3cad9
[Swift 4] add compatibility for unwrapRequired config option ( #229 )
...
* Added support for unwrapRequired in Swift 4
* Update petstore generators for Swift.
2018-06-21 16:52:02 +08:00
Jeremie Bresson
9509e66ae8
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-21 07:33:59 +02:00
Mads Føhns
d19a2faf8e
[php] Correctly handle multiple valid responses ( #128 )
...
* #125 : Correctly handle multiple valid responses
* Fixed defaultResponses
* Fixed void-returns
* Fixed multiple return-types without an actual type
* Update the samples under openapi3 folder
2018-06-20 21:26:23 +09:00
Jérémie Bresson
3c9cf1dcd6
Restore unit test ( #346 )
...
* Restore test classes to commit 5340c35ce1
* Fix samples/client/petstore/java/feign
* Fix samples/client/petstore/java/jersey1
* Fix samples/client/petstore/java/jersey2-java8
* Fix samples/client/petstore/java/jersey2
* Fix samples/client/petstore/java/okhttp-gson
* Fix samples/client/petstore/java/resttemplate/src/test/java
* Move "StringUtilTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Fix echo line
* Move tests to 'test-manual/common/'
* Move "ApiClientTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Move "ConfigurationTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Move "auth/ApiKeyAuthTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Move "auth/HttpBasicAuthTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Move "model/EnumValueTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Move "JSONTest.java" to "samples.ci"
and add copy command in *.sh scripts
* Replace "cp" => "mkdir & cp"
* JSONTest.java is java8 specific
* Run bin/java-petstore-all.sh
* "$_" does not work on Shippable
2018-06-20 15:40:58 +08:00
Jeremie Bresson
478b0d6101
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-19 07:32:52 +02:00
Jérémie Bresson
9511586f07
Prepare 3.0.3-SNAPSHOT ( #338 )
2018-06-18 09:32:11 +02:00
Ben Wells
c51986d657
Go server clean up ( #328 )
2018-06-18 01:09:48 +08:00
shigeru.nakajima
86a82d103e
Eliminate MySQL dependency of Rails 5 stub server ( #279 )
...
* [rails] In order to set up the Ruby on Rails stub server easily, remove the dependency on MySQL
* [rails] Update sample codes of Ruby on Rails stub server
2018-06-17 12:44:25 +08:00
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
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
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
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
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
Matthias Baer
d9d6530161
[aspnetcore] Make the use of Swashbuckle optional ( #110 )
...
* Respect the sourceFolder option correctly
* Add an option to disable the use of Swashbuckle (useSwashbuckle)
2018-05-20 09:28:24 -04:00
Jérémie Bresson
82ee8656fd
[java] Enum in array of array ( #66 )
2018-05-18 19:01:11 +02:00
William Cheng
9b05bd60d5
update elm test to compile all elm files ( #95 )
2018-05-18 19:29:18 +08:00
Erik Timmers
a5cf27b60e
Fix Petstore example for Elm ( #96 )
...
* Add support for `additionalProperties` in operations;
* Add reserved module names.
2018-05-18 19:14:55 +08:00
Victor Orlovsky
3b9a2a7c36
CaseFormatLambda has been added, params for Rest-assured client has been refactored ( #91 )
2018-05-18 12:49:34 +02:00
Fabrizio Ferrai
d7e374504f
[Clojure] Add util method to set the api-context globally ( #93 )
2018-05-18 11:22:02 +08:00
Antoine Reilles
d890d733f8
[JaxRS-Java] issue with implFolder on windows, and required fields generation for containers ( #88 )
...
* Fix implFolder issue with jaxrs-cxf-cdi generator
This fix is for the issue:
https://github.com/swagger-api/swagger-codegen/issues/8113
When using jaxrs-cxf-cdi and other JaxRS generators, the implFolder
config is not honored by hte generator on windows.
* jaxrs-cxf-cdi: containers with no default init
Change similar to
https://github.com/swagger-api/swagger-codegen/pull/5363/files for
jax-rs-cdi generator.
When a property that is a contained is not declared as required, it is
initialized to `null`, and not to the empty container.
This makes apio mich more easy to use, since one can differentiate when
an input list in json has been set to the empty array or simply not set.
2018-05-17 19:28:05 +02:00
Jérémie Bresson
2821f18b95
Meta: set version for "build-helper-maven-plugin" ( #89 )
...
* Set "build-helper-maven-plugin" in template
* Run bin/meta-codegen.sh
2018-05-17 23:21:32 +08:00
Jon Schoning
34db79b9ba
[haskell-http-client] update dependency versions + readme ( #81 )
2018-05-17 18:40:58 +08:00
Kaito Watanabe
c30fb3ff0b
Remove examples comment from swift3 and swift4 client ( #61 )
2018-05-16 17:58:36 +08:00
Jim Schubert
9a8183ab05
[aspnetcore] Fix openapi.json location rename ( #56 )
...
Swashbuckle generation was missing the configuration to rename from
default swagger.json to openapi.json (expected by change in SwaggerUI's
configuration for the endpoint).
This generates to the appropriate location and updates the sample to
load the Swagger UI properly on run.
2018-05-16 11:16:55 +08:00
Matthias Baer
de5260a7ce
Update the aspnetcore generation ( #53 )
...
This change resolves an issue I had with opening the aspnetcore Solution (Visual Studio could not load the project). The *.sln file contained an old GUID for ASP.NET 5.
Also removed the obsolete NuGet.Config file and updated the package references to the newest versions.
2018-05-15 21:41:44 -04:00
Jérémie Bresson
673f2bc469
Add CodegenProperty.nameInSnakeCase ( #42 )
2018-05-15 13:17:04 +02:00
William Cheng
7d9fb9f51e
Add CI test for Elm in travis ( #40 )
...
* test elm in travis
* install elm
2018-05-15 09:58:37 +08:00
William Cheng
67ebe17dd6
Fix isPrimitiveType flag for array of form parameters ( #38 )
...
* fix isprimitivetype for array of form parameters
* setup snapshot deployment
2018-05-14 23:28:03 +08:00
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
Jérémie Bresson
bf7e4e7df7
Java gson: add @SerializedName value as constant ( #22 )
...
* Java gson: add @SerializedName value as constant
Fix #21
* Run bin/java-petstore-all.sh
2018-05-13 19:58:46 +08: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
William Cheng
d80e295852
Fix JS test using baseName in default value ( #5 )
...
* fix js test using baseName in default value
* re-enable JS test
2018-05-13 10:19:16 +08:00
William Cheng
1d889da4e3
Various fixes ( #1 )
...
* fix pistache c++ server in windows
* skip perl test
* comment out go tests
* Fix go test, manually fix go client
* fix rails batch file
* fix tab in java file
* install rust
* fix swift2-deprecated in windows batch file
* fix rust installation
* comment out js test
* update swift windows batch files
* update tizen batch script
* comment out ktor test
2018-05-13 01:31:13 +08:00
William Cheng
2ed3d8cc86
Update python test ( #426 )
...
* update python test folders
* update python template
* update python samples
* fix python comment too long
* update ruby test case
2018-05-12 09:54:19 +08:00
William Cheng
4b7a583b33
Update Swift default value ( #407 )
...
* update swift4 default
* update swift3 default value
* update swift default value
2018-05-12 00:15:24 +08:00
William Cheng
0ad66f7fe5
fix ruby test case, update gemfile ( #425 )
2018-05-11 20:51:35 +08:00
William Cheng
b3f3eabc72
remove php old files, fix php folder in pom ( #423 )
2018-05-11 20:51:24 +08:00
William Cheng
70733deab9
remove unused js files ( #421 )
2018-05-11 17:28:24 +08:00
William Cheng
e5be838fa8
Update PHP client default value ( #417 )
...
* update php default value
* update php samples with oas3
2018-05-11 15:28:09 +08:00
William Cheng
0d913e6801
add step to restore Org.OpenAPITools.Test.csproj ( #420 )
2018-05-11 14:34:03 +08:00
William Cheng
a4f76b889e
update R default value, clean up old R files, add window batch for ( #415 )
...
openapi3
2018-05-11 11:25:50 +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
Akihito Nakano
d958480fea
Reaname R default package name ( #411 )
...
* Rename package name
* Update samples
bin/openapi3/r-petstore.sh
2018-05-10 13:50:42 +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
William Cheng
27c372ff56
Update akka scala default value ( #401 )
...
* update akka scala default value
* fix akka-scala test option
2018-05-10 10:55:44 +08:00
William Cheng
f615d823f9
update ts node dependencies ( #405 )
2018-05-09 22:53:05 +08:00
William Cheng
286f2caa22
update scala default value ( #402 )
2018-05-09 21:48:32 +08:00
Jérémie Bresson
2ee05e12d2
Fixes in security examples ( #396 )
...
* Regenerate "samples/client/petstore-security-test/java/okhttp-gson/"
* Use correct jar
* Fix sh scripts
* Fix path: modules/swagger-codegen => modules/openapi-generator/
2018-05-09 18:13:30 +08:00
William Cheng
4852434d13
update scalaz default value ( #395 )
2018-05-09 17:26:42 +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
William Cheng
dcd26ece71
Update Scala gatling's default value ( #390 )
...
* update powershell script
* update powershell bin script (oas3)
* update html2 generator's default value
* update scala gatling default value
2018-05-09 16:34:54 +08:00
Jérémie Bresson
4ae1113c00
Rename C# default package name for html2 ( #389 )
...
* Change C# package name for html2
* Regenerate 'html2'
2018-05-09 16:34:31 +08:00
Jérémie Bresson
150d414b7e
Regenerate java clients ( #385 )
2018-05-09 07:45:53 +02: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
Jérémie Bresson
d35bf1a388
Change default package name value for kotlin client ( #382 )
...
* Move pom.xml to sample.ci
* Regenerate 'kotlin-threetenbp' example
* Add build to gitignore
* Change default value for Kotlin
* Regenerate kotlin-string client
* Regenerate kotlin-threetenbp client
* Regenerate 'samples/client/petstore/kotlin'
2018-05-09 10:32:37 +08:00
William Cheng
e2d6f7c88f
update erlang client, server default value ( #378 )
2018-05-09 10:31:42 +08:00
Jon Schoning
68780afe9d
[haskell-http-client] update samples (OAS3) ( #381 )
2018-05-09 10:31:28 +08:00
William Cheng
4fd68f0f24
update powershell default value ( #380 )
2018-05-09 10:31:05 +08:00
William Cheng
b24df8882f
update lua default value ( #379 )
2018-05-09 10:30:49 +08:00
William Cheng
ded082202e
update clojure default value ( #377 )
2018-05-09 10:30:35 +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
13f084e7b0
Fix dataTypeWithEnum for array of form parameters ( #354 )
...
* fix datatypewithenum for array of form parameters
* add test cases to cover dataTypeWithEnum, enumName in Ruby
2018-05-08 20:55:49 +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
William Cheng
c0a2673b26
update eiffel codegen default ( #371 )
2018-05-08 17:32:50 +08:00
Jérémie Bresson
e1c9a924c0
Generate kotlin 'client-string' sample ( #369 )
...
* Move pom to 'samples.ci'
* Regenerate 'samples/client/petstore/kotlin-string'
2018-05-08 16:45:50 +08:00
Jérémie Bresson
58c45b9b75
Regenerate 'samples/client/petstore-security-test/php/' ( #368 )
...
Using 'bin/security/php-petstore.sh'
2018-05-08 16:45:09 +08:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
William Cheng
bbd2afdd0a
Update Flash default value ( #366 )
...
* update flash default value, clear samples
* add flash samples
2018-05-08 12:57:38 +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
William Cheng
14c241fbce
Update python default value ( #360 )
...
* update pythong default value
* fix example, update python sample
* update python petstore sample (asyncio, tornado)
2018-05-08 01:23:49 +08:00
Akihito Nakano
376d9af9c0
Rename default packages for php client ( #315 )
...
* Rename default packages for php client
* Generate php client (OAS3)
* Rename namespace for tests
* Delete unnecessary 'use'
* Rename method/variable
* Update php client (OAS3)
* Generate php client (OAS2)
* Rename namespace for tests
* Delete unused files
* Fix tests
2018-05-07 23:04:06 +08:00
Jérémie Bresson
e2f8976fa7
Remove old metadata files ( #357 )
2018-05-07 13:31:17 +02:00
William Cheng
a9baaa81e3
update eiffel with petstore oas2 ( #268 )
2018-05-07 18:32:03 +08:00
William Cheng
d74b4cdf8d
fix map type and collection format for form parameter (array) ( #356 )
2018-05-07 18:22:30 +08:00
Jérémie Bresson
e49e8ca169
Generate 'cwiki' ( #351 )
...
* Regenerate 'cwiki'
* Change default package value for cwiki
2018-05-07 17:53:08 +08:00
Jérémie Bresson
c42777b09e
Rename default package for html, html2, dynamic-html ( #350 )
2018-05-07 09:55:23 +02:00
Jérémie Bresson
a22afb3d81
Rename default packages for android ( #349 )
2018-05-07 09:54:47 +02:00
Jérémie Bresson
b947970f99
Rename default packages for java ( #341 )
2018-05-07 08:43:57 +02: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
William Cheng
e45b3784f1
Fix NPE with Haskell client generator with OAS3 spec ( #334 )
...
* fix NPE with haskell client oas3, better type check
* better unknown type check
2018-05-06 23:56:59 +08:00
William Cheng
b1eac05b2b
Fix form datatype (array of string) ( #339 )
...
* fix data type for array of form parameters
* add test case to cover the form parameter issue
2018-05-06 22:17:47 +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
William Cheng
aab99bc530
Update Dart default value, re-enable Objc Tests ( #328 )
...
* update dart client default
* re-enable objc test
* restore dart flutter_petstore, update dart oas3 script
2018-05-06 01:45:52 +08:00
William Cheng
3c666a6d44
Fix array of form parameters ( #324 )
...
* fix array of form parameters
* fix description for array of form parameters
* fix map of enum value
2018-05-06 00:39:38 +08: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
8405b18563
Add spring cloud sample tests back
2018-05-05 17:26:21 +02:00
cbornet
1619486578
Add reactive option for Spring Boot (webflux)
2018-05-05 17:26:08 +02:00
William Cheng
c791146b62
Update Dart petstore with OAS3, fix mustache format ( #227 )
...
* update dart petstore with oas3, fix mustache format
* update default value to null
2018-05-05 21:02:18 +08:00
Jérémie Bresson
252a1c2599
Regenerate html.md OAS2 ( #251 )
2018-05-05 13:24:30 +02:00
Akihito Nakano
1245a47649
Merge pull request #321 from ackintosh/update-nodejs-server
...
Update nodejs server
2018-05-05 17:06:46 +09:00
William Cheng
5f2bc28779
update default value for elixir ( #319 )
2018-05-05 01:37:48 +08: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
William Cheng
e2251084f2
Update the default value of Ruby client generator ( #320 )
...
* fix ruby client default value
* fix example value for ruby
2018-05-05 00:10:34 +08:00
William Cheng
0b6a59fa09
update elixir with oas3 petstore ( #318 )
2018-05-04 23:52:52 +08:00
William Cheng
8edf6e52ad
Update Elixir Petstore with OAS2 ( #316 )
...
* restore elixir petstore original from codegen2x
* update elixir generator to work with oas2
* minor fix to elixir generato
* minor enhancement to templates
* update elixir petstore with oas2
2018-05-04 17:43:14 +08: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
71d544c9f7
Rename default packages in meta ( #314 )
2018-05-04 10:19:07 +02:00
William Cheng
ea18065447
Add Elm, Rust, Groovy to Travis CI ( #308 )
...
* add elm, rust, groovy to travis ci
* update elm script comment
* comment out elm test in travis
2018-05-04 16:12:18 +08:00
William Cheng
18a40deb30
Update rust client with Petstore OAS2 ( #148 )
...
* update rust client with petstore oas2
* update rust with oas2 petstore, fix default value
* fix type mapping for file, update api_doc for rust client
* update rust client with oas3
2018-05-04 01:38:40 +08:00
William Cheng
de55812d68
Update wordings ( #301 )
...
* update wordings
* update git_push wordings
* update git clone
* update homepage url
* update meta-codegen sample
2018-05-03 14:12:24 +02:00
William Cheng
15d4d2f0d4
remove duplicated entries in C# csproj ( #302 )
2018-05-03 16:31:26 +08: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
William Cheng
95e04f91db
Add Elm script with Petstore OAS3 ( #293 )
...
* add elm script with petstore oas3
* change default value for elm generator
* update default value for elm templates
* fix typo
2018-05-02 23:04:16 +08:00
William Cheng
50837b2e83
update elm petstore with oas2 ( #291 )
2018-05-02 20:27:06 +08:00
William Cheng
ff3b954f10
update c# 2.0 samples ( #285 )
2018-05-02 14:30:25 +08:00
William Cheng
30b829c611
Update Swift4 client with OAS2 ( #270 )
...
* update swift4 client with oas2
* map binary as file in swift4
2018-05-02 14:30:11 +08:00
Jérémie Bresson
1492df6cef
Override server port for Jetty configuration ( #246 )
2018-05-02 07:11:29 +02:00
William Cheng
0c981b7c2f
Update C# default value ( #283 )
...
* update csharp default value
* update csharp 35 samples
* update csharp 40 client
* update c# net standard client
* update C# net core client
* update csharp propertychanged client
2018-05-02 00:48:55 +08:00
William Cheng
4c656bb1d9
Update C# with Petstore OAS3 ( #281 )
...
* update c# petstore with oas3
* update c# propertychanged with petstore oas3
* update c# netstandard with oas3
2018-05-01 14:02:55 +08:00
William Cheng
0b3ec6b1f8
fix NPE with cpp qt5, add logic to avoid NPE with composed schema ( #267 )
2018-05-01 12:05:57 +08:00
William Cheng
acb63fd5e8
Fix go readme, remove resty install ( #280 )
...
* fix go readme, remove resty install
* fix default to null in go petstore doc
2018-05-01 12:02:55 +08:00
William Cheng
9cb2f8472f
remove incorrect max, min in allowableValues ( #269 )
2018-04-30 23:48:59 +08:00
Akihito Nakano
be19724849
Fix default value ( #260 )
...
* Fix missing default value of form param
* Update php sample with OAS2
* Update php sample with OAS3
* Delete quotes as default value may have integer
* Update php samples with OAS2
* use toDefaultValue() in order to apply the decoration rules of generator
* Update php samples with OAS2
* Tweak: add quotes only if example is null
* Update php sample with OAS2
* Update php sample with OAS3
2018-04-30 17:18:58 +08:00
Akihito Nakano
aa5719e008
Fix missing default value ( #257 )
...
* Fix missing default value of form param
* Update php sample with OAS2
* Update php sample with OAS3
2018-04-30 16:24:07 +08: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
799b033c22
update go readme, update pom go dependencies ( #274 )
2018-04-30 13:04:00 +08:00
William Cheng
8730f910b2
Merge pull request #261 from wing328/fix_go
...
Various fix for Go petstore client
2018-04-30 09:49:49 +08:00
antihax
622a75b2ce
Fix data type shadowing
2018-04-29 12:16:17 -07:00
William Cheng
1d7da2ecf4
fix apex npe, better example value ( #266 )
2018-04-29 22:15:04 +08:00
Jérémie Bresson
1587d202b0
Generate apex ( #224 )
2018-04-29 20:38:18 +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
wing328
d8165b0cfb
update go test files
2018-04-29 02:14:12 +08:00
wing328
1e999f289d
various fix for go petstore
2018-04-29 02:03:21 +08:00
wing328
1577e5d89f
restore go client from codgen2x
2018-04-28 22:04:47 +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
William Cheng
5114cd96b0
Update TypeScript Petstore samples with OAS3 ( #253 )
...
* add scripts for ts oas3 petstore
* remove json files
* update ts jquery with oas3 petstore
* update ts inversify, fix file mapping
* update ts fetch wtih oas3 (no diff), fix script
2018-04-28 12:11:02 +08:00
Akihito Nakano
7b6e17e02d
Fix missing models ( #250 )
...
* ArraySchema should not be included in aliases
* Update php sample (OAS2)
2018-04-28 11:37:45 +08:00
William Cheng
78c865e268
update ts angular2 petstore oas2 ( #249 )
2018-04-27 22:12:30 +08:00
William Cheng
509fdd892b
Update TypeScript jQuery, Aurelia, Inversify with Petstore OAS2 ( #248 )
...
* update ts inversify with petstore oas2
* update typescript-aurelia petstore with oas2
* update ts jquery with oas2
2018-04-27 22:12:13 +08:00
William Cheng
6a98840199
update c# netstandard petstore (oas2) ( #247 )
2018-04-27 18:04:47 +08:00
William Cheng
0373b74a75
update ts angularjs petstore (oas2), fix model prefix ( #245 )
2018-04-27 17:09:34 +08:00
Jérémie Bresson
3f976afca8
Generate vertx OAS2 ( #226 )
2018-04-27 10:19:48 +02:00
William Cheng
bec559a6e8
Update TypeScript Fetch client with Petstore OAS2 ( #244 )
...
* update ts fetch (default) with oas2
* update ts fetech npm with petstore oas2
* update ts fetch interface (petstore oas2)
* update ts fetch es6 (petstore oas2)
2018-04-27 15:37:41 +08:00
William Cheng
4ea2e6dc78
update C# property change client (oas2) ( #242 )
2018-04-27 11:55:37 +08:00
William Cheng
6f4af337d9
Update TS Angular v4, v4.3 with Petstore OAS2 ( #241 )
...
* update ts angular 4 from codegen2x
* update ts angular v4 with petstore oas2
* restore ts agnular 4.3 from codegen2x
* update ts angular 4.3 with petstore oas2
2018-04-27 00:24:40 +08:00
William Cheng
5ef5e540fd
Update C# API client with Petstore OAS2 ( #240 )
...
* update c# petstore with oas2
* add csharp tests
2018-04-27 00:03:30 +08:00
William Cheng
8640c172c9
update ts node with oas2 ( #239 )
2018-04-26 22:39:01 +08:00