William Cheng
32499a19fc
fix empty body in java apache client ( #14574 )
2023-02-01 15:41:55 +08:00
William Cheng
fd45b74128
[Java] better default value handling ( #14130 )
...
* add test for array default value
* update null return
* minor fixes
* move default value tests to echo api spec
* add new files
* remove unused files
* fix enum array default, add tests
* better array init
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
* revert the fix
* improve default value handling
* update native samples, add tests
* update samples
* fix tests
* use conditional test for timezone
* add tests to apache http client echo api
* add option to default container to null
* fix map default value
* minor refactoring
* update samples
* fix javadoc
* fix pom.xml
* add tests in java native echo client
* add java apache client echo tests
* fix test
* fix test
---------
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
2023-01-30 20:19:00 +08:00
William Cheng
4ecb9f4186
[java][native] Fix urlQuery string method in oneOf ( #14488 )
...
* better tests, fix oneOf in urlquery string method
* update samples
* update
2023-01-20 01:57:32 +08:00
William Cheng
6cd7989e9e
[Java][native][apache-httpclient] Update toUrlQueryString to support form style for object ( #14478 )
...
* update toUrlQueryString
* add new files
* minor bug fixes
* support object in query parameter - java apache httpclient
* rename variable - java native
* update samples
* fix try catch
2023-01-19 16:13:51 +08:00
William Cheng
cf4f2c76b2
Use inline allof instead of $ref in echo test ( #14429 )
...
* use inline allof instead of $ref in echo test
* update samples
* update samples
* fix tests
2023-01-13 17:21:28 +08:00
William Cheng
9fae221f1d
[Java][okhttp-gson] add echo client test ( #14442 )
...
* add echo api tests for java okhttp client
* test okhttp gson echo client in jdk8 workflow
* update samples
2023-01-13 00:15:29 +08:00
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
50e295e3c6
Fix missing import in allOf query parameters ( #14408 )
...
* add test for allOf in query parameter
* fix missing import in allof query parameter
* update samples
* update samples
2023-01-11 20:29:13 +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
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
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
John Mitchell
fd0bfae65a
Java Feign - DefaultApi20Impl is only needed if OAuth is enabled ( #14289 )
...
* DefaultApi20Impl is only needed if OAuth is enabled
* Checking updated generate files
2022-12-27 16:50:08 +08:00
William Cheng
e6702c5edc
update samples and docs
2022-12-21 15:25:09 +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
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