William Cheng
03a59046f4
Merge remote-tracking branch 'origin/4.3.x'
2020-01-31 19:00:28 +08:00
Slavek Kabrda
a42ff37a42
[java][client] oneOf support for jackson clients ( #5120 )
2020-01-27 08:23:20 -05:00
dependabot[bot]
fc4563baef
Bump spring-webflux from 5.0.8.RELEASE to 5.1.0.RELEASE in /samples/client/petstore/java/webclient ( #5071 )
...
* Bump spring-webflux in /samples/client/petstore/java/webclient
Bumps [spring-webflux](https://github.com/spring-projects/spring-framework ) from 5.0.8.RELEASE to 5.1.0.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.0.8.RELEASE...v5.1.0.RELEASE )
Signed-off-by: dependabot[bot] <support@github.com>
* Bump spring-webflux version from 5.0.8 to 5.0.16
ref https://pivotal.io/security/cve-2020-5398
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
2020-01-22 17:00:52 +08:00
William Cheng
04af5e0445
Merge remote-tracking branch 'origin/master' into 4.3.x
2020-01-20 15:04:34 +08:00
Sebastien Rosset
d61dcc17e0
[gradle] consistent use of maven url in gradle files ( #5045 )
...
* wrap maven url with uri function
* consistent use of maven url in gradle files
2020-01-19 14:57:38 -05:00
Jim Schubert
ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… ( #5034 )
...
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org
* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0
* Force HTTPS for mavenCentral gradle DSL
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00
Jim Schubert
78bf3adc4a
[core] Initial FeatureSet structures and definitions ( #3614 )
...
[core] Initial FeatureSet structures and definitions
Add default feature set to DefaultCodegen
Initial FeatureSet definitions for:
* ada
* android
* apache2
* asciidoc
* aspnetcore
* avro
* bash
* c
* clojure
* cpp-pistache-server
* cpp-qt5-client
* cpp-qt5-qhttpengine-server
* cpp-restbed-server
* cpp-restsdk
* cpp-tizen
* csharp
* csharp-nancyfx
* csharp-netcore
* cwiki
* dart
* eiffel
* elixir
* elm
* erlang
* flash
* fsharp-functions
* go Client/Server
* graphql-nodejs-express-server
* graphql-schema
* groovy
* haskell
* haskell-http-client
* java
* jmeter
* kotlin
* kotlin vertx
* kotlin-server
* kotlin-spring
* lua
* mysql
* nim
* nodejs
* nodejs-express
* objc
* ocaml
* openapi
* openapi-yaml
* perl
* php
* php-laravel
* php-lumen
* php-silex
* php-slim
* php-symfony
* php-ze-ph
* powershell
* protobuf
* protobuf-schema
* python
* python-aiohttp
* python-blueplanet
* python-experimental
* r
* ror
* ruby
* ruby
* ruby-sinatra
* rust
* scala-akka
* scala-finch
* scala-gatling
* scala-http-client
* scala-lagom
* scala-play
* scalatra
* scalaz
* spring
* static docs
* swift
* typescript
2020-01-11 16:20:47 -05:00
Jérémie Bresson
e675360b9e
[java][client] jackson update ( #4907 )
...
* [java][client] update jackson-databind-version to 2.10.1
* [java][client] update jackson-version to 2.10.1
* Update samples
* [google-api-client] add missing generic parameter to fix compile error
* Update samples
2020-01-03 11:03:12 +08:00
sullis
178a3e24bd
upgrade to JUnit 4.13 ( #4899 )
2020-01-02 13:20:29 +08:00
William Cheng
81e15ed0bf
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-28 12:00:09 +08:00
Jim Schubert
376e419d0b
Support models with multi-level hierarchy (via roxspring) ( #4503 )
...
* Example of broken multi-level hierarchy
* Support for multiple levels of hierarchy in model objects
* Support for multiple levels of hierarchy in generators
* Regenerated samples
* Temporarily skip scalaz sample verification, which is having issue with Java version in CI container
* Re-enable scalaz in verify samples
Co-authored-by: Rob Oxspring <roxspring@imapmail.org>
2019-12-27 15:42:32 +08:00
William Cheng
4fb503bcac
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-20 23:21:21 +08:00
Jérémie Bresson
ad6c832162
[java] Update jackson_databind_nullable_version to 0.2.1 ( #4839 )
...
* [java] Update jackson_databind_nullable_version to 0.2.1
* Update samples
* FIx typo
2019-12-20 23:18:47 +08:00
William Cheng
3e34903042
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-11 15:44:50 +08:00
Jorge Rodriguez
06ba8317f9
Error in the reactive client when the path variables are a list ( #4687 ) ( #4689 )
...
* Error in the reactive client when the path variables are a list (#4687 )
* Update samples (#4687 )
2019-12-04 10:06:42 +08:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
Toby Murray
006ec182ef
[JAVA] Update Gradle in generated Java projects from 2.14.1 to 6.0.1 ( #4536 )
...
* Update Gradle in generated Java projects from 2.14.1 to 6.0.1
* Upgrade Java 11 native Gradle from 5.5 to 6.0.1
When Java 11 native client library was introduced it was introduced with an overridden version of the Gradle wrapper (5.5 instead of 2.14.1). From looking at that PR, there doesn't appear to be any specific reason for the versions to differ. This removes the only override of the Gradle wrapper so all the Java projects are up to date and shares the same version.
2019-11-25 22:34:31 +08:00
William Cheng
60f4de0f22
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-11-20 18:15:22 +08:00
Jorge Rodriguez
60958b78d9
[BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists ( #4461 )
...
* 4383: Client resttemplate and webclient. Form Params are badly added when they are lists
* 4383: Force redeploy
* 4383: Fix test
* 4383: Fix map
* 4383: revert change
* 4383: Fix test resttemplate-withXml
2019-11-17 09:01:40 +08:00
William Cheng
f07b3e0521
Prepare 4.2.2-SNAPSHOT ( #4497 )
...
* update to 4.2.2-SNAPSHOT
* update doc
* update samples
* skip ocaml test
* update version
* fix version
2019-11-15 21:34:25 +08:00
atsharp
9ceabc760c
[Java] Refactor webClient generator to use URI templates to capture correct metrics ( #4314 )
...
* Fixing URI templating for webclients to support Spring metric collection
* Revert accidental change to test
2019-11-12 16:17:38 +08:00
Jorge Rodriguez
94b58634a7
[Java]: Client resttemplate and webclient: array parameters of type integer in path badly generated ( #4379 )
...
* 4375: Client resttemplate and webclient: array parameters of type integer in path badly generated
* 4375: Fix samples
* 4375: Fix samples
* 4375: Fix samples
2019-11-12 16:15:34 +08:00
William Cheng
c4f0b09459
Fix Jackson databind security issue ( #4370 )
...
* fix jackson databind security issue
* update groovy sample
* fix groovy dep version
2019-11-06 10:27:08 +08:00
William Cheng
4824bb7711
sync master, update samples
2019-11-04 09:28:19 +08:00
William Cheng
931908c77c
fix security alerts reported by github ( #4344 )
2019-11-01 11:16:36 +08:00
William Cheng
47e2c0d027
update samples ( #4334 )
2019-10-31 13:31:49 +08:00
William Cheng
33f63d6163
Do not HTML escaped the description in the doc ( #4321 )
...
* html escaped the description in the doc
* update python oas3 sample
2019-10-31 09:10:05 +08:00
Sai Giridhar P
284c9dc6c5
feat(documentation): Adding model documentation ( #4308 )
2019-10-30 17:09:25 +08:00
Slavek Kabrda
cf58a427b6
[java][client] Don't include nullable attributes twice in serialized JSON ( #3923 )
...
* [java][client] Don't include nullable attributes twice in serialized JSON
* Get rid of the extra added whitespace
* Regenerate samples
2019-10-22 16:17:27 +08:00
atsharp
d75d089bc9
[Java] Support cookie-based security schemas in Java clients ( #4155 )
...
* Adding cookie support and cookie-based AuthKeys to Java clients
* Fix indentation
* Revert accidental change
* Updating samples
* Fixing tests and regenerating samples
2019-10-19 18:05:02 +08:00
gurumeditator
dee6de7778
Replaced dashes with underscores in build.gradle files. ( #4092 )
2019-10-13 18:37:50 +08:00
William Cheng
cf38c56aa6
Fix readonly with isReadOnly ( #4102 )
...
* fix readonly
* update samples
2019-10-09 15:16:22 +08:00
William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
William Cheng
7dbda049f0
Better tests for string (number) ( #3953 )
...
* beter test for string (number)
* fix mapping
* fix mapping in csharp generators
2019-09-30 15:22:44 +08:00
William Cheng
81fdc2abbd
Fix jackson-databind security issue ( #3945 )
...
* fix jackson security issue
* update groovy petstore sample
2019-09-24 13:56:59 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
Benjamin Simpson
239d68df36
[Java][okhttp-gson] fix failure to deserialize floats ( #3846 )
...
* fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam}
* fix to bug #3157
* update samples
2019-09-07 12:36:19 +08:00
Quim Muntal
8f13b88ed9
Support custom git repository ( #3757 )
...
* add gitHost param to GeneratorSettings and related
* parameterize gitHost in READMEs
* parameterize gitHost in go.mod
* parameterize gitHost in git_push
* update petstore samples
* run ./bin/utils/export_docs_generators.sh
* run meta-codehen.sh
* Revert "run meta-codehen.sh"
This reverts commit d6d579f6159186531257cdfdd73b9caf9e9ffeba.
* Revert "run ./bin/utils/export_docs_generators.sh"
This reverts commit 1b81538198d4319fd1b4e97447303e3cc0e8dc99.
* Revert "update petstore samples"
This reverts commit f513add88396707f6991ae2e4920359583ec88f1.
* run ensure-up-to-date
2019-09-03 21:35:49 +08:00
Jérémie Bresson
d21b3390fe
[java] add jackson-databind-nullable dependency to the gradle.build file ( #3793 )
...
* Add jackson-databind-nullable
* Update samples
2019-08-30 13:51:50 +08:00
Jérémie Bresson
87727de079
[java-client][java-jaxrs-server][jackson] Add @JsonPropertyOrder to models ( #3778 )
2019-08-29 10:40:34 +02:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
Slavek Kabrda
5182955cca
[Java][client] make it possible to send explicit nulls for nullable fields ( #3474 )
...
* [Java][client] make it possible to send explicit nulls for nullable fields
* Regenerate samples
2019-08-16 16:26:06 +08:00
Jérémie Bresson
a4811c7850
[java-client] set collection to null when not required ( #3615 )
...
* [java][model] set collection to null when not required
* Fix tests
* Fix trailing whitespace
* generate samples
* Restore 'de.thetaphi' plugin in pom.xml
2019-08-15 22:01:19 +08:00
William Cheng
c3535cf9ca
Add test cases to cover different collection formats ( #3640 )
...
* add test cases to cover different collection format
* add space params to retrofit 1.x
* add space params to retrofit 2.x
* rename url to localVarUrl
* fix exception in haskell servant
2019-08-15 11:09:12 +08:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
Jérémie Bresson
1ab7b9ceb6
[java][client][jax-rs] Add a constant for Jackson @JsonProperty ( #3560 )
2019-08-09 11:01:23 +08:00