William Cheng
b1921ce484
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2018-06-16 19:03:14 +08:00
John Wang
a20f93b42f
[Golang][client] fix RFC-3339 date-time query param ( #325 )
2018-06-16 00:29:24 +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
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
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
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
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
Mads Føhns
3beeb4e777
#126 : Not-required properties now shows as nullable ( #129 )
2018-05-28 21:33:55 +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
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
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
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
Jim Schubert
27426f7b52
Cli generator name option, replaces 'language' options in CLI and Maven Plugin ( #57 )
2018-05-23 05:41:19 +02:00
Matthias Baer
f22224574b
Download elm dependencies without prompting user. ( #118 )
2018-05-21 16:23:01 +08: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
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
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
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
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
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