Armand Mégrot
07a9257ee9
[Ruby][client] Handle enums (and other scalars) in oneOf and anyOf schemas ( #17515 )
...
* Handle enums in oneOf and anyOf schemas
* Update specs
2024-01-05 15:01:08 +08:00
William Cheng
5c571b0e1f
add enum name mapping support to ruby generators ( #17537 )
2024-01-05 15:00:52 +08:00
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +08:00
Ilamparithi Natarajan
ddc7d4b1b5
[java][resttemplate] rethrow original exception when retry limits exceeded ( #17488 )
...
in rest template, when the retry limits exceeded
rethrow the original exception
also add 429 (Too many requests) status code to the
retry logic
fix #17478
2024-01-05 09:57:24 +08:00
William Cheng
23bd5d413c
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2024-01-05 09:56:51 +08:00
William Cheng
1b72140b46
update samples
2024-01-05 09:56:40 +08:00
Dan Booker
34c3f8c7aa
[C][Client] Fix enum function names not matching headers in the model template ( #17512 )
...
- fixes #17510
Co-authored-by: Dan Booker <dan.booker@ncipher.com>
2024-01-05 09:49:04 +08:00
Martin Delille
c56fc21517
[cpp-qt-client] Update minimum cmake version to 3.5 ( #17480 )
2024-01-03 10:22:46 +08:00
Aliaksei
48e9b9f408
[bugfix][jaxrs]: fix compile error for jaxrs samples ( #17479 )
2024-01-03 09:59:17 +08:00
Mobile Team @ AOK Systems
6eeecc1d18
Fix decoding OpenAPIDateWithoutTime ( #17146 )
...
* Fix decoding OpenAPIDateWithoutTime which in previous implementation only worked when used with CodableHelper, because it encoded to String, but tried to decode from Date afterwards
* update samples
* Update OpenAPIDateWithoutTime.mustache
* Update sample projects
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
Co-authored-by: Bruno Coelho <4brunu@users.noreply.github.com>
Co-authored-by: Bruno Coelho <4brunu@gmail.com>
2023-12-26 17:56:39 +00:00
ken_tunc
1105759a6f
[kotlin-client][jackson] Add support for unknown default enum value ( #17404 )
...
* [kotlin-client][jackson] Enable @JsonEnumDefaultValue
* Update samples
2023-12-26 16:36:44 +00:00
Ghufran Zahidi
35b47e6382
Fixed the HttpSigning issue for ECDSA key supplied as string. ( #17459 )
...
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com>
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2023-12-26 17:50:14 +08:00
William Cheng
c215bc681d
better java resteasy echo api client tests ( #17473 )
2023-12-26 10:25:55 +08:00
fizzet
2d50655d8c
[JaxRS] fix pojo equals ( #17431 )
...
* [JaxRS] fix Pojo equals
Fix equals for pojos that have the same name as one of their properties
* regen samples
2023-12-26 10:13:36 +08:00
Milad
8c014372aa
[Java RESTEasy client] updating test to use the Java RESTEasy echo api client ( #17367 ) ( #17470 )
...
* updating test to use the Java RESTEasy echo api client (#17367 )
* regenerated samples
* set source and target to 1.8 to fix workflow failure, adapted parser
2023-12-26 09:32:51 +08:00
Noor Dawod
a67e07e132
Stop using internal variable from okhttp3 ( #17458 )
2023-12-22 11:07:08 +00:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Charles Treatman
da13013a27
[Go] fix validation of property names when a model has required fields and doesn't allow additional properties ( #17267 )
...
* update template for required field validation when additional properties are not allowed
* regenerate samples
* move bytes import from template to GoClientCodegen
* regenerate samples
* add test for model with required fields and additionalProperties: false
2023-12-22 12:35:52 +08:00
Mickael Magniez
38c33b92fe
Add scala-pekko client generator ( #17417 )
...
* feat: add scala-pekko client generator
* feat: add scala-pekko client to CI
2023-12-22 10:58:27 +08:00
Stormshield-robinc
0a7140224c
Fix swift5 binary upload ( #17422 )
2023-12-21 22:27:47 +00:00
Nikita Shmakov
3099a2fcd3
webclient explode query parameters support ( #17441 )
2023-12-21 19:35:07 +08:00
Milad
106047980b
[Java RESTEasy client] added filename directive for Java RESTEasy file uploads ( #17367 ) ( #17435 )
...
* added filename directive for Java RESTEasy file uploads (#17367 )
* regenerated samples
2023-12-21 19:34:30 +08:00
mya0
864c0db5e9
[typescript-axios] Fix Missing AxiosRequestConfig ( #17450 )
2023-12-21 10:58:05 +01:00
Emanuele Saccomandi
b20c8db281
[Zapier] Updated some dependencies ( #17420 )
...
* updated zapier dependencies
* updated zapier platform core to last version
2023-12-21 16:09:44 +08:00
Drew Kimberly
457622c456
fix(typescript-*): nullable additionalProperty values ( #17379 )
...
* fix(typescript-*): nullable additionalProperty values
* chore(samples): update samples
2023-12-20 14:14:25 +01:00
William Cheng
dc047b4e91
fix missing array description in 3.1 spec ( #17427 )
2023-12-19 11:35:46 +08:00
Yonatan Karp-Rudin
5435b44e40
Fix missing convertor for jackson in retrofit ( #17418 )
...
* Add missing Jackson converter for Retrofit
This commit adds the missing configuration for a ApiClient so all Jackson serializations will start to work correctly.
* Add sample project code for Retrofit Jackson
2023-12-19 10:29:50 +08:00
William Cheng
809d7151c6
remove auto-generated ruby tests ( #17402 )
2023-12-15 14:47:15 +08:00
dabdirb
e63563a8fc
fix #16889 replace deprecated response code function ( #17405 )
2023-12-15 13:41:14 +08:00
William Cheng
367301de22
deref parameter in normalizer for 3.1 spec ( #17406 )
2023-12-15 12:18:07 +08:00
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
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
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
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
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
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