William Cheng
a584f32d68
Add workflow to test java apache client with jdk8 ( #14437 )
...
* add workflow to test java apache client with jdk8
* fix url encode issue with jdk8
* update samples
* minor improvements in java native client
* minor fix
2023-01-12 22:12:08 +08:00
William Cheng
e825f27b0b
[java][apache-httpclient] Add deep object url query parameter support ( #14417 )
...
* add deep object url query parameter to java apache-httpclient
* update doc string
2023-01-11 11:04:14 +08:00
Maxime Dufour
c6ea564600
[Java][Client Default] Support of AWS Signature V4 ( #14287 )
...
* Add support of AWSV4 Signature in Java
* Add Petstore sample for AWSV4 Signature
* Update other sample examples
* Sync Documentation and sample
* Specify only available for okhttp-gson in doc
2023-01-10 19:29:20 +08:00
William Cheng
d269a2a09d
Add deepObject query string support in Java native client ( #14378 )
...
* add deepObject query string support in java native client
* fix array of query parameters
* minor fix
* update samples
* fix test
2023-01-06 17:10:06 +08:00
William Cheng
c514dc3c1b
add java native jakarta samples for test ( #14381 )
2023-01-05 21:55:53 +08:00
s-jepsen
f848651b84
Fix @Generated annotation import for Java Native client. ( #14376 )
...
* Fix @Generated annotation import.
Apply fix to generatedAnnotation.mustache
Add changes to generated clients.
* Add changed files.
2023-01-05 15:42:20 +08:00
Antoine Rey
917892db7d
#14141 Add externalDocs to @Operation to the JavaSpring generator ( #14177 )
...
* #14141 Add externalDocs to @Operation to the JavaSpring generator
* #14141 Add externalDocs to @Operation to the JavaSpring generator : fix mustache template with #hasExternalDocs
* #14141 Add externalDocs to @Operation to the JavaSpring generator: fix indentation
* #14141 Add externalDocs to @Operation to the JavaSpring generator: fix carriage return
* #14141 Add externalDocs to @Operation to the JavaSpring generator: regenerate the spring-boot-oas3.yaml sample
* #14141 Add externalDocs to @Operation to the JavaSpring generator: generate-samples.sh
* #14141 Add externalDocs to @Operation to the JavaSpring generator: remove hasExternalDocs
* Fix ExternalDocumentation import generation and order
* #14141 Add externalDocs to @Operation to the JavaSpring generator: generate-samples.sh
2023-01-04 10:15:23 +08:00
William Cheng
421e7c9d3e
[Java] Better tests for jakarta option (webclient, resttemplate) ( #14363 )
...
* test java jakarta in new workflow jdk 17
* update workflow
* skip jakarta test in jdk11
2023-01-02 20:55:39 +08:00
Paul Parenko
fd2b141c53
when using useJakartaEe=true
also set java 17 ( #14360 )
...
webclient now uses Sring Boot 3.0.1 with `useJakartaEe`
2023-01-02 20:29:32 +08:00
Paul Parenko
456cca1a28
[Java] Fix #14276 Java Templates uses jakarta or javax package if useJakartaEe is enabled ( #14343 )
...
* Fix #14276 Java Templates uses jakarta or javax package if useJakartaEe
is true
* generated samples after useJakartaEe changes
* generated docs after useJakartaEe changes
2023-01-02 16:28:44 +08:00
hahny93
851ddecda3
Update Java/Feign api.mustache to accept its own convinience Map Class ( #14008 )
...
* Update Java/Feign api.mustache to accept convinience Map
Hi, I just saw, that the generated Map Class is never used outside of tests, but it would be the perfect fit for the changed mehods, as its use-case is exactly the same.
Also a useful change to prevent problems with Collection types and their generics parameters (f.e. Map<x, y>). See: https://stackoverflow.com/questions/62823341/openapi-generator-maven-plugin-breaks-old-feign-with-querymap
* PR checklist
Steps as requested per checklist: done.
2022-12-21 14:44:03 +08:00
Maxime Dufour
9450984af8
[Java][Client] Generate servers for okhttp-gson ( #14179 )
...
* [Java][Client] Generate servers for okhttp-gson
* Update sample tests
2022-12-17 21:58:47 +08:00
William Cheng
1cda5462f9
update resttemplate spring web to latest 5.x ( #14275 )
2022-12-17 15:53:51 +08:00
John Mitchell
2a33229158
Support for GSON Decoder in Java Feign Generator ( #14254 )
...
* Supporting Gson decoder in Feign
* Supporting Gson decoder in Feign
* Fixing test failures - and ensuring Jackson is used as the default if nothing selected (back compatible)
* Adding in sample files
* Updating docs
* Switching to echo server version
* Adding feign-gson to the github workflow
* Empty-Commit
2022-12-17 15:40:14 +08:00
William Cheng
11d31117a8
fix java apache client optional body, add tests ( #14227 )
2022-12-08 20:58:47 +08:00
William Cheng
1fad61e2f8
Fix response body in Java native client ( #14222 )
...
* fix response body in java native client
* add new files
* update samples
2022-12-08 17:29:53 +08:00
William Cheng
b8b25e8ae0
Fix query parameters encoding in Java apache-httpclient ( #14195 )
...
* fix query parameters encoding in java apache-httpclient
* rearrange tests
* add new files
2022-12-08 00:30:07 +08:00
Oleh Kurpiak
2524e8fb0a
[Java][WebClient] global blocking operations config ( #14076 )
...
* [Java][WebClient] global blocking operations config
* update samples
2022-12-06 13:30:47 +08:00
William Cheng
0103d400c2
update java samples
2022-12-05 14:33:04 +08:00
Brendan Burns
d6e7f70cb4
Modify Java ApiException to have a more informative message. ( #14154 )
...
* Modify ApiException to have a more informative message.
* Address comments.
2022-12-05 14:16:50 +08:00
William Cheng
3a26da76b0
Better tests for Java native client ( #14132 )
...
* add echo tests with java native client
* fix echo server
* fix github
* add npm install
* update samples
* add license header
* update smaples
* add test for array of string
* fix java native respone type casting
* better code format
* add license header
2022-11-29 14:18:14 +08:00
William Cheng
fabd0a8be2
update jackson databind to newer versions ( #14136 )
2022-11-29 10:55:03 +08:00
William Cheng
d5ce79ac24
fix build warning in java apache client ( #14127 )
2022-11-26 17:39:50 +08:00
William Cheng
743202241e
[Java][native][apache-httpclient] update dependencies to newer versions ( #14110 )
...
* update java native dependencies to newer versions
* update java native, apache-httpclient to newer version
2022-11-24 23:55:14 +08:00
William Cheng
980062f2bb
Improve Java native, apache-httpclient with better spec ( #14109 )
...
* improve java native, apache client with better spec
* fix java native async tests
* regenerate java native tests
2022-11-24 21:48:09 +08:00
William Cheng
09c070a27e
update test, suppress warnings in java apache client ( #14098 )
2022-11-23 20:32:01 +08:00
Sorin Florea
d74cefba83
[JAVA][APACHE] Fix apache http client query parameters ( #14020 )
...
* Fix apache http client query parameters
* Update samples
2022-11-23 14:35:01 +08:00
Oleh Kurpiak
40e04df096
[Java][Native] handle empty response body ( #13993 )
2022-11-17 23:27:59 +08:00
Juan Ávila
5e50ff47b0
[JAVA][RETROFIT2] Include java.util.Set in fullJavaUtil imports ( #14048 )
...
* Include java.util.Set in fullJavaUtil imports
* Update java-retrofit2 samples
2022-11-17 21:55:45 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
6a1acd89a1
Add array tests to java okhttp-gson client ( #13913 )
...
* array test to java okhttp-gson client
* better code format
* add ClientTest.java to test_file_list.yaml
2022-11-04 20:01:01 +08:00
William Cheng
a020170ff3
[java][client] Fix config, add more samples for testing ( #13912 )
...
* fix config, add more samples for testing
* update samples
2022-11-04 18:17:34 +08:00
cachescrubber
5221682086
[Java][Client] Support annotationLibrary=none to remove swagger annotations ( #13869 )
...
* Support annotationLibrary=none in JavaClientCodegen
* Add example using annotationLibrary=swagger1
* Support annotationLibrary=none in libraries
* Fix missing curly brace.
* fix if statement condition
* Support {{#swagger1AnnotationLibrary}} in java/rest-assured
* Adopt JavaModelTest
* Generate docs
* Generate samples
* clean up java feign files
* clean up feign samples
* fix resttemplate, native
* fix resttemplate withXml
* fix webclient
* fix java-jersey2, vertix
* fix googleapi client
* fix rest assured
* fix rest assured
* update apache-httpclient
* fix jersey2 special character
* fix resteasy
* fix jersey2
* update samples
* fix jersey2, okhttp streaming
* update okhttp-gson
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-11-04 17:07:46 +08:00
William Cheng
558ae9373d
Merge remote-tracking branch 'origin/master' into 7.0.x
2022-11-01 21:01:06 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
sbilz
fe5601ab9b
Java jersey OAuth2 add support for public client #13827 ( #13828 )
2022-10-31 22:52:42 +08:00
Thibault Duperron
1b65ef38f5
Update dependecies for CVE ( #13834 )
...
* Update dependecies for CVE
fix #13772
* Fix schemas
2022-10-31 10:55:11 +08:00
William Cheng
4c19c725a7
minor improvements on java client based on intellji ide ( #13864 )
2022-10-30 23:31:04 +08:00
신진호
8eb3064b2e
[Java][Spring] Change methodBody.mustache for webflux bean validation ( #13795 )
2022-10-28 20:49:28 +08:00
William Cheng
227f583a81
[java] Update jackson-databind-nullable version to 0.2.4 ( #13804 )
...
* update jackson databind version to 0.2.4
* update samples
2022-10-24 13:56:46 +08:00
William Cheng
0368987315
update java okhttp gson dependencies to newer versions ( #13798 )
2022-10-23 11:26:12 +08:00
William Cheng
f409fb6184
various improvements to java okhttp-gson client ( #13794 )
2022-10-23 10:52:54 +08:00
Andrew Hatch
232f354826
required vs optional JSON array validation ( #13774 ) ( #13777 )
2022-10-22 21:06:00 +08:00
Andrew Hatch
9e5c919560
fix parameter ordering for RequestBody.create ( #13778 ) ( #13779 )
2022-10-22 21:03:57 +08:00
William Cheng
ca56242e4f
[java][okhttp-gson] minor improvements ( #13792 )
...
* use replace instead of replaceAll
* avoid using instance to accessd static methods
* use entrySet instead of keySet
* use statis class instead of instance for static method
* update samples
2022-10-22 13:31:59 +08:00
William Cheng
a68c36e932
Update jackson core and databind to newer versions ( #13755 )
...
* update databind to newer version
* update jackson version
* update dep
* revert jersey1
2022-10-21 10:14:37 +08:00
William Cheng
892e4f5b3c
update oltu to newer version ( #13782 )
2022-10-21 09:15:37 +08:00
Rade Martinović
514dbca08b
Updating org.apache.oltu.oauth2.client ( #13411 )
...
Updating the OAuth2 client (although obsolete, it's still productive in openapi-generator) due to security problems related to the underlying libraries
* sonatype-2022-3061
* sonatype-2012-0050
Update pom.mustache
2022-10-19 23:15:32 +08:00
William Cheng
58f817276a
Revert to c73704ce0832fc41210652399bfbb5f1668ec98a
2022-10-19 14:55:11 +08:00