William Cheng
5ee18156db
[Java-Feign]: model combining properties and additionalProperties ( #16546 )
...
* [Java-Feign]: model combining properties and additionalProperties (#6146 )
* update samples
---------
Co-authored-by: François Dodé <francois.dode@dawex.com>
2023-09-09 16:11:54 +08:00
William Cheng
14cfca7b06
[java][feign] Update feign client dependencies to newer version ( #16545 )
...
* update javae feign client dependencies to new versions
* update feign
2023-09-09 15:39:02 +08:00
William Cheng
47a85e880b
Add tests for http basic authentication in python client ( #16488 )
...
* add tests for http basic auth in python client
* add new files
2023-09-03 19:11:53 +08:00
William Cheng
ebc9bcda44
[java][native] Add tests for oneOf form parameters ( #16487 )
...
* add tests for oneOf form parameters
* update samples
2023-09-03 16:15:54 +08:00
martin-mfg
20692aa891
Properly handle mappings and import mappings after processOpts ( #16216 )
...
* make Java imports overridable
* fix for other dateLibraries
* complete core fix
* adapt test - step 1/2
* add unit test
* adapt test - step 2/2
* remove accidentally added file
* final small clean-up
2023-08-30 13:48:51 +08:00
William Caine
134dc98a71
fix: Using Map.Entry to avoid "reference to Entry is ambiguous" ( #16445 )
...
* fix: Using Map.Entry to avoid "reference to Entry is ambiguous"
when spec defines a model Entry it conflicts. Also rest of mustache
uses Map.Entry to matching it
* fix: Map.Entry - update samples
2023-08-30 12:57:53 +08:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11:29 +08:00
William Cheng
ff19825610
[java] Remove hardcoded arrays in template ( #16340 )
...
* remove hardcoded arrays in template
* better model import in java client
* update
* better code format
* minor refactoring
* update
2023-08-19 10:20:48 +08:00
William Cheng
e69c58623f
update samples
2023-08-17 12:03:43 +08:00
Marc Miltenberger
7a7309edb8
Fix Java GSON client not accepting optional null arrays ( #16213 )
...
* Add check for null JSON array in GSON Java api client
* Update samples
2023-08-10 22:58:23 +08:00
Marc Miltenberger
adac3b127f
Support for multipart/form-data; charset="utf-8" in Java GSON Generator ( #16211 )
...
* Support for multipart/form-data; charset="utf-8"
Previously, it was only checked for an exact equal string, which failed when there were additional options such as charset.
* Update samples
2023-07-29 00:22:19 +08:00
Luca
584f8448ee
[Java][Native] Fix multipart builder files array ( #16055 ) ( #16094 )
...
* [Java] Fixed bug in native client generation when API accepts array of files (#16055 )
* Adding test for java native client
* Updated samples
2023-07-24 15:57:21 +08:00
William Cheng
7b3681af47
fix isMap ( #16043 )
2023-07-11 17:14:44 +08:00
karzang
e9d98666a1
[Java][Client] Fix #12556 Support primitives and arrays in oneOf ( #13897 )
...
* [Java][Client] Fix #12556 Support primitives and arrays in oneOf
* Regenerate petstore samples
* Regenerate petstore test samples
* Treat 'BigDecimal' as primtive datatype
* Fix integration tests
2023-06-29 16:46:55 +08:00
bcalvez
7a73f75f70
[java][okhttp-gson] Remove JAX-RS dependency from generated okhttp-gson java client ( #15896 )
...
* Remove JAX-RS dependency from generated okhttp-gson java client
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-27 16:53:10 +08:00
martin-mfg
dcc53c0d53
[Typescript][Scala][Postman][Java] fix errors with missing models, missing description, BigDecimal ( #15809 )
...
* various fixes
* generate samples
2023-06-27 16:20:21 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
martin-mfg
e152799569
[JAVA] fix "text/plain" with charset specifications ( #15399 )
2023-05-11 16:47:42 +08:00
William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Tiffany Marrel
8a6c708884
[Java] Cleanup documentation ( #15300 )
...
* [Java] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Java] fix anchor links in documentation
2023-05-10 14:14:44 +08:00
Beppe Catanese
3d2ec72461
[JAVA] Okhttp-gson: blank line between annotations and method signature ( #15430 )
...
* Remove extra blank line
* Regenerate samples
2023-05-08 14:39:46 +08:00
William Cheng
bec32ae67f
update samples
2023-05-03 09:43:43 +08:00
William Cheng
961980f284
[python-nextgen] add support for StrictBytes ( #15365 )
...
* add strictbyte support in python-nextgen client
* update samples
* use union of strictbytes, strictstr for backward compatibility
2023-05-01 10:51:22 +08:00
William Cheng
2bd1a15217
[python-nextgen] fix empty dict in body parameter ( #15336 )
...
* add more tests for python-nextgen
* update samples
* add fix for empty dict body
* update samples
2023-04-28 14:06:27 +08:00
William Cheng
b5745e6f26
[python-nextgen] Fix enum query parameter ( #15278 )
...
* fix enum query parameter in python-nextgen
* update samples
2023-04-22 16:08:59 +08:00
Robin Karlsson
b247ad75e1
[java] Add public static version field ( #15108 )
2023-04-14 01:06:54 +08:00
William Cheng
935146d187
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-04-12 17:51:47 +08:00
William Cheng
ba2c42e34b
add override to java native pojo ( #15125 )
2023-04-06 15:00:14 +08:00
William Cheng
07227d4650
add support for union of strictfloat and strictint ( #15124 )
2023-04-06 11:51:12 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
William Cheng
b59d535176
[python-nextgen] Fix binary response ( #15076 )
...
* fix binary response in python nextgen client
* update samples
2023-03-31 16:16:58 +08:00
William Cheng
9fa032b365
add isOverridden, update java pojo with setter for parent prop ( #15051 )
2023-03-29 10:57:49 +08:00
RInverid
36332331e4
Skip null form values for Java native request builder ( #15036 )
2023-03-29 10:55:28 +08:00
William Cheng
3d4f7b3ce0
[java] fix optional array property's default value ( #14961 )
...
* fix optional array property default value
* fix default values
* more fixes
* update default value for jersey2, 3, okhttp-gson
* update default value
* fix java okhttp-gson
* fix jersey2, 3
2023-03-17 11:58:49 +08:00
martin-mfg
f1d05fc7f8
Allow Java apache-httpclient users to supply additional HTTP headers per call, updated ( #14929 )
...
* Allow Java apache-httpclient users to supply additional HTTP headers per API call
* fix 'unexpected return value' problem
* make "fullJavaUtil" work
* Revert 'make "fullJavaUtil" work'
This reverts commit 60c8846.
---------
Co-authored-by: Jigar Joshi <jigarjm@gmail.com>
2023-03-14 20:20:31 +02:00
Andre Vegas
d56a55a06b
Fixing missing openApiNullable config for java apache-httpclient generator ( #14828 )
...
* 14827 - fixing missing openApiNullable config for java apache-httpclient generator
* 14827 - run PR steps updating examples & docs
* 14827 - fixing test data
2023-03-09 00:05:47 +08:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +08:00
William Cheng
a4b5b85067
Update jackson nullable version to newer version v0.2.6 ( #14823 )
...
* update jackson nullable to newer version
* update samples
* update samples
* update samples
2023-02-27 18:38:31 +08:00
William Cheng
d400d7fb15
Better handling of x-nullable in codegen property ( #14800 )
...
* add failed tests
* add logic to handle x-nullable in property
* update samples
* update test
2023-02-24 15:24:34 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
William Cheng
71c2abf81c
[Java] fix default value for JsonNullable ( #14703 )
...
* fix java webclient default value
* update default value in java okhttp client
* fix java native client default value in JsonNullable
* improve java okhttp-gson default value template
* update java rest-related templates
* update feign samples
* update jersey3 templates
* update jersey2 templates
* update default value in jaxrs templates
* fix spring default value
* update jaxrs pojo, fix tests
* update samples
* suport set
2023-02-16 10:37:36 +08:00
Andre Vegas
d7edbad8d6
[java][apache-httpclient] update httpclient dependency to the latest 5.x ( #14673 )
...
* #14672 - adding generator with apache http client 5
* #14672 - adding generator with apache http client 5
* #14672 - adding generator with apache http client 5
* #14672 - adding generator with apache http client 5
2023-02-15 15:12:39 +08:00
William Cheng
110460b71a
[python-nextgen] better datetime support in parameters ( #14621 )
...
* add allowStringInDateTimeParameters option
* add tests
* add files
* add tests for datetime query parameters
* fix file anme
* trigger build
* fix pytest
* install test requirement
* trigger build
* break build
* add new files
* fix Locale.ROOT
* update doc
2023-02-12 21:11:29 +08:00
William Cheng
b6abace9dc
[JAVA] java.net.http.HttpClient (java native) conditionally depend on apache ( #14670 )
...
* JAVA-NATIVE conditionally depend on apache
* add hasFormParamsInSpec in abstract java codegen
* use hasFormParamsInSpec instead
* minor fix
---------
Co-authored-by: Sergey Prytkov <sergey@razz.team>
2023-02-11 22:06:44 +08:00
Tom Deering
4664f6c46c
[Java] Fix APIClient basePath Configuration ( #14600 )
...
* Nullify serverIndex in java ApiClient.setBasePath
Restores previous behavior broken between v6.2.1 and v6.3.0
* Regenerate samples
2023-02-09 18:27:57 +08:00
William Cheng
687bace3f3
[Java][native] add spotless gradle/mvn plugin ( #14641 )
...
* add spotless plugin to java native client
* apply spotless
* Revert "apply spotless"
This reverts commit 485d50bbde417044f8aabaef76dee906afc6798c.
2023-02-09 10:29:40 +08:00
William Cheng
bbc42696ab
[java] Fix enum ref issue in array default value ( #14638 )
...
* fix enum ref issue in array default value (java)
* update samples
* update tests
* update samples
2023-02-07 21:49:30 +08:00