renaud-twd
a9179e95dd
fix: java apache httpclient should support UTF-8 by default ( #17395 )
...
* fix(java): apache-httpclient serialization error
fixes following related issue:
https://github.com/OpenAPITools/openapi-generator/issues/12797
* docs(java): update samples and docs
2023-12-15 09:01:10 +08:00
Ween Jiann
b7f31ddda4
Regenerate ( #17389 )
2023-12-13 22:17:15 +08:00
William Cheng
734b922381
[scala-akka-client] Scala Akka client does not support arbitrary query string parameters ( #17386 )
...
* Add check for input if is Map type
* Update Pet samples
* Add PetApi support for filter by Pet property
* Clean up
* update samples
* remove manual test
---------
Co-authored-by: ameenhaq <ameenhaq79@gmail.com>
2023-12-13 16:03:48 +08:00
rubiniselvaraj
4c4388e3c8
Fix for handling error in resttemplate ( #17381 )
...
* Fix with handling error
* Fix with handling error
2023-12-13 12:56:02 +08:00
Hui Yu
2a27fd51a7
[C][Client] Use int* as int or bool type function parameter ( #17179 )
2023-12-12 22:11:13 +08:00
rubiniselvaraj
a792a79059
Implementing retry logic to restTemplate ( #17375 )
...
* Implementing retry logic to restTemplate
* Fixing the issue
* Adding import
* Fix
* Fix
* minor update, add tests
* fix
* Adding the maxRetryAttempt, threadWaitTime as additionalProperty
* Updating the apiClient
* Removing reduntant variable
* Generating samples
* Fixing format
---------
Co-authored-by: Rubini <rubini@Rubinis-MacBook-Air.local>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-12 22:01:36 +08:00
Aliaksei
809b3331a9
[4947][java]: adds support for validation of primitives in arrays ( #17165 )
...
* [4947][java]: adds support for validation of primitives in arrays
* [4947][java]: prevents generation '@Valid' for Object
* [4947][java]: test against different codegens and stick to primitive
* [4947][java]: code review
* [4947][java]: enhance getBeanValidation
* [4947][java]: adds email
* [4947][java]: removes unnecessary override
* [4947][java]: adds postProcessResponseWithProperty
* [4947][java]: adds missing import {{javaxPackage}}.validation.Valid
* [4947][java]: adds missing useBeanValidation
* [4947][java]: fix use rootJavaEEPackage for helidon
2023-12-11 20:55:38 +08:00
William Cheng
d4d5196907
Better handling of any type in v3.1 spec ( #17370 )
...
* fix NPE in the example generator
* fix any type in 3.1 spec
* use log error instead
2023-12-11 17:13:55 +08:00
William Cheng
62399b1897
add a test for SecretStr in the python client ( #17364 )
2023-12-11 13:18:36 +08:00
Maciej Lewiński
51c8be3f8c
[csharp][generichost] Handle obsolete params and methods ( #17344 )
...
* [csharp][generichost] Handle obsolete params and methods
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-11 13:17:26 +08:00
Stefan Koppier
7f05c1f41d
[kotlin-client] New generator: kotlin-jvm-spring-restclient ( #17366 )
...
* Created kotlin jvm spring restclient
* Fixed kotlin jvm-spring-restclient
* Fixed earlier problems
* Fixed earlier problems
* Updated kotlin.md
2023-12-11 12:49:36 +08:00
Beppe Catanese
9eb5882f94
OpenAPI 3.1.0 Add webhooks support ( #17174 )
...
* Add support for webhooks
* Test webhook generation with Go Gin server
* Generate samples
* Removing \t
* Remove tabs
2023-12-11 11:21:23 +08:00
Csaba Kozák
8bb9a10b9f
[kotlin-client][multiplatform] use shortcut to access jsMain as well ( #17358 )
2023-12-10 15:15:40 +08:00
TAKAHiRO TOMiNAGA
004c7e8c8d
[Style][Go] standardize the format of mustache (tiny change) ( #17363 )
...
* fix: change indent style to tab in the mustache to generate Go code
* docs: standardize the language names for code blocks
* docs: change indent style to tab in the code blocks
* update: regenerate samples
* `./bin/generate-samples.sh ./bin/configs/*.yaml`
2023-12-10 10:13:49 +08:00
William Cheng
10da7a3c5a
[Ruby] add file download tests ( #17362 )
...
* add new ruby echo api clients
* add tests for ruby faraday file download
* add file download test to ruby Typhoeus
* add ruby workflow, add tests for ruby httpx
* update
* fix
2023-12-09 22:05:27 +08:00
William Cheng
dd36fa09f8
update logbak core to newer version ( #17360 )
2023-12-09 21:59:50 +08:00
Daniel
583184888f
Ruby Client for Faraday: fix file downloading ( #17333 )
...
* Ruby Client for Faraday: fix file downloading
In MR #16876 , a bug was introduced that causes file downloading to fail
for the Faraday adapter.
This commit fixes the obvious missing parameter for the method
call to download_file() and the missing variable `request` for saving the
response value of the call to build_request().
Signed-off-by: Daniel Schnell <dschnell@grammatek.com>
* Add automatically generated changes.
---------
Signed-off-by: Daniel Schnell <dschnell@grammatek.com>
2023-12-09 10:49:00 +08:00
Dennis Melzer
e37decff7b
Add Java Optional for POJOs in JavaSpring templates ( #17202 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Add optional for pojos
* Add optional for pojos
* Add bean validation for Optional
* Add default values + test
* Rename test
2023-12-08 21:46:13 +08:00
Vladislav Bauer
62462354ca
[csharp] Support 420 HTTP code ( #17207 )
...
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
2023-12-08 21:35:03 +08:00
mymx2
e37cf901a8
fix(typescript-axios): use baseURL of (custom) axios instance ( #17296 )
...
Co-authored-by: ddd <ddd>
2023-12-08 13:27:08 +01:00
Leonid Olevskii
3762277206
Use .Content of for accessing response body in powershell ( #17342 )
2023-12-07 22:50:33 +08:00
William Cheng
2c9fbf81a7
add enum name mapping to ada codegen ( #17299 )
2023-12-06 17:50:03 +08:00
Robert Schweizer
6a43a371f1
fix: Configure python urllib3 connection pool size ( #17323 )
...
This was removed in #16802 , but using a higher value than 1,
or at least making this configurable makes complete sense.
Without this, we get a lot of these log messages:
[ WARNING] Connection pool is full, discarding connection:
2023-12-06 15:49:10 +08:00
William Cheng
6230248716
update php samples
2023-12-06 14:56:53 +08:00
devhl-labs
0ab9f74cfb
use keyParamName ( #17328 )
2023-12-06 14:49:55 +08:00
Viktor Szépe
39d5b4ebf9
Replace stray TAB characters with spaces ( #17311 )
...
* Replace stray TAB characters with spaces
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-05 18:01:25 +08:00
William Cheng
391df3b81c
update samples
2023-12-05 15:36:33 +08:00
William Cheng
cdb020d044
add enum name mapping option to swift generators ( #17297 )
2023-12-05 15:06:31 +08:00
William Cheng
bbd0ce38be
add enum mapping option to dart generators ( #17298 )
2023-12-04 12:32:36 +08:00
William Cheng
ac45e3ddab
add enum name mapping feature to the rust generators ( #17290 )
2023-12-04 10:53:11 +08:00
William Cheng
b19bc59c6a
add enum name mapping feature to go generators ( #17289 )
2023-12-04 10:52:58 +08:00
devhl-labs
2967b33ab6
[csharp][generichost] Added enum for api key names ( #17295 )
...
* added enum
* added enum
2023-12-04 10:44:12 +08:00
Martin Delille
95340d5264
[cpp-qt-client] pass QString by const reference instead of by value ( #16793 )
...
* [cpp-qt-client] pass QString by const reference instead of by value
* Add another signal instead of changing its signature
* Bump qt version
* Fix CODEOWNERS
* Try to fix workflow
* use v3
* Remove openssl from windows build
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-03 18:14:22 +08:00
Beppe Catanese
62faa53373
[POSTMAN] Include header description ( #17292 )
...
* Include header description
* Generate samples
2023-12-03 08:06:09 +08:00
Beppe Catanese
6657b2c5c2
[POSTMAN] Query parameter description ( #17291 )
...
* Include query parameter description
* Generate samples
2023-12-03 08:05:44 +08:00
Beppe Catanese
ac78f1e85b
[POSTMAN] Enabling required query parameters ( #17281 )
...
* Enable required query parameters
* Generate samples
2023-12-02 17:41:05 +08:00
SAIA-Basseldonk
8911740924
[BUGFIX][Rust] Array with unique enum items no longer causes mismatched types error ( #17197 )
...
* check args to fn new for uniqueItems
* Added model with unique items for template testing
* build the project and update samples
* Removed testcase from fake petstore spec
2023-11-30 22:08:37 +08:00
William Cheng
f033b11408
Update JAX-RS client samples ( #17262 )
...
* update jaxrs client samples
* move configs
2023-11-30 21:39:42 +08:00
William Cheng
4c4d0e485a
[java] Update logback to newer versions ( #17259 )
...
* update logback to newer versions
* update
2023-11-30 18:51:46 +08:00
Beppe Catanese
4a1db3f1e6
[JAVA] Jersey3 deprecate class attribute ( #17223 )
...
* Deprecate attribute
* Generate samples
2023-11-30 13:50:30 +08:00
Beppe Catanese
fd58539fe9
[JAVA] Jersey3 deprecated field only deprecates getter method ( #17221 )
...
* Deprecate build and setter methods
* Generate samples
2023-11-29 21:54:17 +08:00
William Cheng
46dd87525e
Add tests for max,min items in array (rust-server) ( #17215 )
...
* add tests for max,min items in array (rust server)
* fix both min, max items
2023-11-29 16:21:54 +08:00
devhl-labs
fb429f7e94
[csharp][generichost] Do not assume api keys are interchangeable ( #17185 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* removed commneted code
* fixed all but standard
* fixed standard
2023-11-28 10:54:34 +08:00
Xiangxuan Qu
8669646d99
fix: chsarp get file name from content disposition ( #17183 )
...
* fix: chsarp get file name from content disposition
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-11-27 20:32:41 +08:00
William Cheng
e2a8118c86
add enum name mapping support to php generators ( #17195 )
2023-11-27 20:26:28 +08:00
William Cheng
ac687657ba
add enum name mapping feature to C# generators ( #17194 )
2023-11-27 20:26:12 +08:00
William Cheng
a117dd55f1
add enum name mapping feature to kotlin generators ( #17193 )
2023-11-27 20:25:15 +08:00
devhl-labs
4f82071502
[csharp][generichost] Honor the Set-Cookie header ( #17186 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* remove changes for another pr
* resolved conflicts, build samples
* fixed a casing issue
* fixed casing issue
2023-11-27 11:01:05 +08:00
Csaba Kozák
9fa3aec2e0
[kotlin-client][multiplatform] update dependency versions ( #17180 )
2023-11-26 21:58:22 +08:00
devhl-labs
3fa21b5603
do not inherit additional properties ( #17140 )
2023-11-26 21:49:00 +08:00