William Cheng
477e2365c7
improve git_push.sh ( #10356 )
2021-09-09 12:49:03 +08:00
William Cheng
1231b1ab04
update samples, update html doc
2021-09-09 12:09:38 +08:00
Peter Leibiger
a558554961
Add OAS3 allowEmptyValue for query params ( #10312 )
...
* add the special case of empty query parameters to the fake API
2021-09-03 16:32:51 +08:00
Kaijia Feng
8cc2bc4fa7
[Java][RestTemplate][WebClient] Fix typo in comments ( #10311 )
2021-09-02 21:03:29 +08:00
Artem
d68d65ce00
Fix java examples ( #10257 )
...
* TAP-655 fix examples java
* update samples
2021-09-02 11:08:35 +08:00
Oleh Kurpiak
c148539ce3
[Java][Spring] fix imports for nullable helpers ( #10234 )
2021-09-02 11:01:12 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
Thomas Zeeman
f2b50faeec
Fix unchecked conversion ( #10246 )
...
* Fix unchecked conversion
Update restttemplate and webclient templates to use <>-operator.
Also update samples.
* Update samples
2021-08-25 10:09:53 +08:00
William Cheng
0204bf4ae2
Squashed commit of the following:
...
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date: Tue Aug 17 18:28:12 2021 +0800
Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:12:47 2021 +1000
Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:08:59 2021 +1000
Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:10:49 2021 +1000
Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 10:41:58 2021 +1000
Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 22:02:22 2021 +1000
Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 21:59:26 2021 +1000
Trim trailing whitespace
2021-08-17 18:37:51 +08:00
agilob
7edddb6531
Add map property in url params ( #10154 )
...
* Add map property in request params
* Regenerate samples to include map in url property
2021-08-17 18:31:53 +08:00
William Cheng
764a462711
Merge remote-tracking branch 'origin/5.3.x'
2021-08-16 21:38:34 +08:00
William Cheng
8403e59aa0
Prepare 5.2.1 release ( #10161 )
...
* prepare for 5.2.1 release
* update samples
2021-08-16 19:08:29 +08:00
Nathan Baulch
dc23267580
[csharp] Obsolete attribute on deprecated operations and properties ( #10084 )
2021-08-04 17:28:45 +08:00
William Cheng
fcdc9d49f7
update samples
2021-07-27 14:16:55 +08:00
unintended
68d48ea03a
Store uri template attribute for webclient to store in metrics ( #9964 )
...
* store URI template attribute for webclient
* generate samples
2021-07-27 14:13:24 +08:00
Oleh Kurpiak
aa4018d09b
[Java] fix nullable arrays when JsonNullable is used ( #10012 )
2021-07-27 13:57:07 +08:00
William Cheng
56aafe30d9
Merge remote-tracking branch 'origin/master' into 5.3.x
2021-07-27 11:33:35 +08:00
Jorge Rodríguez Martín
e568376a01
[Java][RestTemplate][WebClient] Templatized query params for metrics and evicts oom ( #9871 )
...
* [Java][RestTemplate] Templatized query params for metrics and evicts oom
* [Java][WebClient] Templatized query params for metrics and evicts oom
* [Java][RestTemplate] Templatized query params for metrics and evicts oom
* Update samples
* [Java] Add javadoc
* [Java] Update samples
2021-07-21 17:03:19 +08:00
William Cheng
2e1b028ccd
update samples
2021-07-19 11:43:03 +08:00
William Cheng
e263e6acc0
[Java] update test samples ( #9972 )
...
* remove new java samples
* java feign, webclient use fake petstore for tests
* update samples
2021-07-19 11:08:44 +08:00
Marcel Stör
c5f5d3dd6a
[Java] Add @javax.annotation.Nonnull to required getters ( #9593 )
...
* Add @javax.annotation.Nonnull to required getters
* Add updated samples
* Consider the nullable constraint
2021-07-19 10:48:58 +08:00
Jon Jensen
bd070308d9
[Java][*] Annotate deprecated operations and schemas ( #9478 )
...
Refs #3358
Ensure `deprecated` operations are annotated/documented as such on the
generated methods. Libraries updated:
* [feign]
* [google-api-client]
* [microprofile]
* [okhttp-gson]
* [resttemplate]
* [retrofit]
* [retrofit/play*]
* [webclient]
* [vertx]
Ensure `deprecated` schemas are annotated/documented as such on the
generated classes/fields. Libraries updated:
* [feign]
* [google-api-client]
* [jersey2]
* [microprofile]
* [native]
* [okhttp-gson]
* [rest-assured]
* [resteasy]
* [resttemplate]
* [retrofit*]
* [webclient]
* [vertx]
Also fix two minor bugs to get the java sample tests working:
* Fix an invalid jackson-datatype-threetenbp version number in vertx/pom.mustache
* Fix a bad return type in webclient/api_test.mustache when uniqueItems=true
Since this commit updates petstore-with-fake-endpoints-models-for-testing.yaml,
several other samples were updated, but it's just new files to reflect the
deprecated schemas, so there should be no consequential differences.
Relevant bits of the spec:
* https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#user-content-operationdeprecated
* https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#user-content-schemadeprecated
2021-07-19 10:27:03 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
Guillaume TOURBIER
95a11a7f5d
[Java][WebClient] add ResponseEntity return for webclient ( #9327 )
...
* feat: add ResponseEntity return for webclient
fix : #5599
* refactor: merge functions
simplification to avoir duplicated code
2021-06-18 16:03:38 +08:00
Payal Gadura
98ae4ab614
Filter out problem+json mime type from JSON mime types ( #9680 )
2021-06-11 00:59:22 +08:00
William Cheng
85ff15ac8a
update samples
2021-05-10 19:05:02 +08:00
Guillaume TOURBIER
808c0b03bd
feat: add access to webclient and webclientBuilder ( #9329 )
...
* feat: add access to webclient and webclientBuilder
fix : #8602
* docs: add params for webclient & builder
2021-05-10 19:02:36 +08:00
William Cheng
99ddd6d2f2
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-30 11:41:09 +08:00
Jakob
0af45b3823
[Java] add jackson annotations to setters ( #9041 )
...
* [Java] add jackson annotations to setters
Closes #6856
* [Java] fix conflictiong setter with JsonNullable
2021-03-30 11:17:15 +08:00
William Cheng
16b141e402
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-26 10:20:36 +08:00
William Cheng
39f0177ede
[Java] Update WebClient dependencies ( #8972 )
...
* update webclient dependencies
* update build.gradle
2021-03-22 13:58:04 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
9d8494a89d
update samples
2021-03-15 22:55:36 +08:00
Backfighter
ad603f44fb
[Java][webclient] Fix deprecation warning: BodyInserters.fromObject ( #8963 )
...
* Fix deprecation warning: BodyInserters.fromObject
See for more information #8553
* [Java][webclient] Upgrade to spring 5.2.13
2021-03-14 00:12:48 +08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com>
Co-authored-by: tballast <tyler.ballast@gmail.com>
2021-03-08 21:40:54 +08:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00
William Cheng
84813be309
remove supportJava6 option ( #8514 )
2021-01-26 10:27:09 +08:00
William Cheng
53a5bfecfd
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-18 11:33:57 +08:00
Toby Murray
99144252f7
Migrate off deprecate Gradle configurations ( #8436 )
...
A bunch of gradle configurations have been deprecated, with drop in replacements. Relevant to this project:
compile -> implementation
testCompile -> testImplementation
They're visible by executing e.g. ./gradlew build --warning-mode all with supporting documentation here: https://docs.gradle.org/6.6.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
2021-01-15 22:32:50 +08:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
William Cheng
a407090bef
update samples
2020-12-18 12:28:41 +08:00
Cody Mikol
f9d6c6fb21
CHORE[DEPENDENCIES]: bump swagger-parser => 2.0.22 ( #7597 )
...
this fixes a bug where the parser would return
null when missing parameters rather than reporting
some useful error.
Fixes N/A
2020-12-08 15:18:07 +08:00
Toby Murray
cbe1fd9728
Bump Gradle in generated Java projects to 6.7.1 ( #8079 )
...
* Bump Gradle in Java projects from 6.0.1 to 6.7.1
Regular maintenance, 6.0.1 was released November 18th, 2019 and the latest release (November 16th, 2020) is 6.7.1. This updates all the wrapper templatesto the latest version.
* Updated generated Java samples
Generated via `./bin/generate-samples.sh bin/configs/java-*`
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-07 10:44:23 +08:00
Thomas Hervé
616b44f3b1
Improve generated Java examples ( #8012 )
...
* Add basic types imports to generated examples
This adds an extension to include basic types imports to generated Java
examples.
* Make some fixes to example generation
* Generate OffsetDatetime correctly
* Create a useful sample for enums, regenerate samples
* Fix BigDecimal as well
2020-11-26 18:14:26 +08:00