Robin Karlsson
564939a4a8
[java][jersey] Remove double brace initialization and some more jersey cleanup ( #14783 )
...
* Remove double brace initialization
* Use diamond operator
* Less clutter in generated api classes
* Optimize isJsonMime
* Revert change in escapeString
Skip toString() on string parameters.
* Fix edge-cases
A ServerVariable without enumValues and/or operationServers
with any ServerVariables would lead to invalid code.
2023-03-13 16:42:37 +08:00
sbilz
f4e53db8cf
Java Jersey glassfish fix renewing OAuth-Accesstoken #14734 ( #14735 )
2023-02-25 22:01:33 +08:00
Robin Karlsson
ca19fa0ef3
[java][jersey] Fix ALLOW_COERCION_OF_SCALARS ( #14619 )
...
* Remove dead code
* Refactor containsKey before get
* Minor refactor
* Use JsonMapper.builder() to build ObjectMapper
Fix a bug where ALLOW_COERCION_OF_SCALARS wasn't set properly.
* Update samples
* Oops, fix a typo
2023-02-06 10:34:21 +08:00
William Cheng
4c19c725a7
minor improvements on java client based on intellji ide ( #13864 )
2022-10-30 23:31:04 +08:00
Jean-François Côté
45f430f5c8
Fix problem when uploading file using form-data in jersey2 client ( #12563 )
...
* Fix problem when uploading file using form-data in jersey2 client
* Remove serialization that is not required for most cases
* Small fix
2022-06-11 09:08:51 +08:00
William Cheng
7cbdf4c163
[java][jersey2] update junit from 4.x to 5.x (major upgrade) ( #11898 )
...
* update java jersey2 junit to 5.x
* update jersey2-java8-special-characters
* update jersey2-java8-localdatetime
* update samples/openapi3/client/petstore/java/jersey2-java8
* better code format
2022-03-18 09:50:26 +08:00
Chris White
d153134dec
Fixed RFC3999DateFormat clone NPE ( #11705 )
2022-02-24 12:29:23 +08:00
William Cheng
8455c1cd23
Remove the option to support JDK7 from Java generator and templates ( #11547 )
...
* remove java8 from java client generator and templates
* update tests
* remove threetenbp
* update spring templates to remove java8
* remove java8 from jaxrs template
* fix jaxrs spec
* fix feign
* remove CustomInstantDeserializer.java
* fix jersey1
* fix undertow
* various update
* fix jaxrs jersey1
* fix java inflector
* fix jaxrs cxf
* add new files
* update doc
2022-02-10 10:35:29 +08:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
William Cheng
b7c8de9425
update samples
2022-01-21 17:45:53 +08:00
S2021Git
361b593da2
Not creating "Accept:null" header for Java-Jersey2 generator ( #11084 )
...
* updated ApiClient.mustache for jersey2
* updated samples
* corrected indentation
* updated samples
2022-01-04 16:41:24 +08:00
William Cheng
d17a472b89
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-03 18:03:00 +08:00
William Cheng
238639a500
update java sampes
2022-01-02 17:28:17 +08:00
William Cheng
48f81eef45
use IllegalArgumentException instead ( #10745 )
2021-11-02 12:47:15 +08:00
William Cheng
8551b0af49
[java][jersey2] remove warning using JsonMapper.builder ( #10734 )
...
* remove warning usign JsonMapper.builder
* add back java8 tag
2021-10-30 16:55:33 +08:00
William Cheng
ec2ed98269
better comment/docstrings in jersey2 apiclient ( #10668 )
2021-10-24 12:19:20 +08:00
Thomas Leplus
80fb9e9889
Use 'this' to assign to class field. ( #10417 )
2021-09-19 11:42:34 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
tomred-net
38b49e77af
fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled ( #8756 )
...
* fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled
* fix #8755 updating samples
2021-03-27 10:01:39 +08:00
William Cheng
1b6cabb97d
[Java] use Files.createTempFile instead ( #8787 )
...
* use Files.createTempFile
* fix import
* add missing import
2021-02-23 11:40:37 +08:00
Oleh Kurpiak
f0b9e21b6b
[Java] fix generation for JavaTimeFormatter ( #8348 )
...
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
2021-01-29 11:22:37 +08:00
Nicholas Muesch
00d56375b0
Use Map interface for configureApiKeys ( #7982 )
2021-01-04 10:54:01 +08:00
William Cheng
d6c71ff0fb
[java][jersey2] add proxy support ( #7752 )
...
* add client config getter and setter
* update gradle, sbt config
* update client config
* update samples
* add code sample to set proxy
2020-10-20 10:11:01 +08:00
William Cheng
fe31b9e2ce
java jersey2: remove trailing whitespaces ( #7632 )
2020-10-09 17:11:23 +08:00
Jiri Kuncar
d5a680e85f
[Extensions][Go][Java] Test x-auth-id-alias ( #6642 )
...
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
2020-08-30 21:46:55 -04:00