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
4ed742b6bc
update samples
2019-11-21 15:24:13 +08:00
William Cheng
facabd4472
Merge branch '4.3.x' into 5.0.x
2019-11-21 15:19: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
Eric Feliksik
440e3f301d
Re-interrupt the thread in the generated code ( #4382 )
...
* Re-interrupt the thread in the generated code, otherwise the client has to check for
the type of the cause of the thrown exception.
* update samples
2019-11-13 13:28:50 +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
55737c236c
skip the test as async call may have finished ( #4377 )
2019-11-06 10:35:59 +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
4ca9430474
sync master, update doc
2019-11-04 09:38:22 +08:00
William Cheng
4824bb7711
sync master, update samples
2019-11-04 09:28:19 +08:00
William Cheng
61d7d22b24
smaller tests, better code format ( #4355 )
2019-11-03 23:18:09 +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
William Cheng
7901ae2306
[Java][okhttp] Test setVerifyingSsl ( #4252 )
...
* test setVerifyingSsl
* update test file under petstore
2019-10-24 22:02:39 +08:00
Fabio Kung
c3666e9350
okhttp-gson: fix SSL settings with okhttp3 ( #4226 )
...
The old code used to work with older okhttp (< 3), but will throw
NullPointerExceptions with okhttp3.
2019-10-24 18:15:10 +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
Jochen Schalanda
ab0b3d9795
Update to jackson-datatype-threetenbp 2.9.10 ( #4176 )
...
* Update to jackson-datatype-threetenbp 2.9.10
* Update to ThreeTen BP 1.4.0
* Fix import and usage of org.threeten.bp.DateTimeUtils
* Refresh samples
2019-10-19 15:08:56 +08:00
wing328
54151891cc
Merge branch 'master' into 5.0.x
2019-10-17 11:18:57 +08:00
gurumeditator
dee6de7778
Replaced dashes with underscores in build.gradle files. ( #4092 )
2019-10-13 18:37:50 +08:00
Thomas Joeissient
a13543e859
Make Resttemplate thread safe by using the withHttpInfo pattern used by many other generated clients ( #4049 )
2019-10-10 21:18:29 +08:00
William Cheng
cf38c56aa6
Fix readonly with isReadOnly ( #4102 )
...
* fix readonly
* update samples
2019-10-09 15:16:22 +08:00
William Cheng
8f86f0f04a
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-10-08 21:21:04 +08:00
Slavek Kabrda
5234139814
[java][client] Fix regression in Java XML serialization. Fixes #4014 ( #4023 )
...
* Fix regression in Java XML serialization. Fixes #4014
* Also move JSON_PROPERTY_* declaration
2019-10-07 17:50:55 +08:00
William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
Michael Walser
243589ec80
[java] Don't import oltu when not necessary ( #3950 )
2019-10-01 13:50:21 +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
Davide Maestroni
5f6e53fc60
Fix issue3635 ( #3948 )
...
* fixed Feign template
* regenerated Feign example
* update java feign petstore sample
2019-09-27 16:36:04 +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
5eb67d471b
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-09-22 21:00:38 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
Benjamin Simpson
f27ff79e93
updated google-api-client version from 1.23.0 to 1.30.2. Bugfix #3625 ( #3882 )
2019-09-13 15:52:28 +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
b0549fe6da
[java-client][rest-assured] add jackson support in addition to gson ( #3795 )
2019-08-29 17:34:37 +02: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
a8fe5d355c
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-08-29 14:48:00 +08: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
FlorianBruckner
16ac05dcdf
Two tiny fixes for Java Vertx client ( #3683 )
...
* two tiny fixes:
1.) ApiClient already defines and configures an objectMapper to not fail on unknown properties, but it is not used when parsing the response. The fix uses the pre-configured object mapper instead of the vertx default one
2.) When an operation has no response (or just ones without content), the accept array passed to ApiClient is emtpy. This makes the null check in ApiClient useless, as it still tries to set a null Accept header, which is refused with an NPE. Amend the check with .length > 0 to catch this case.
* update generated client as required by contributor guidelines
2019-08-25 18:02:36 +08:00
thecrazzymouse
73eae09738
[BUG] Https protocol schema is not handled correctly in java 11 native code #3729 ( #3730 )
...
* added getter for schema
2019-08-23 13:52:48 +02:00
Jérémie Bresson
870bb1c858
[java-client][resteasy][jersey2][google-api-client][okhttp-json] several fixes to make sent requests more accurate ( #3703 )
2019-08-22 09:50:47 +02:00