William Cheng
68dc149fa1
update jackson in restclient to newer version ( #23151 )
2026-03-06 15:35:14 +08:00
Alex
6d335cd96d
feature(jackson3) add jackson3 support for Java Client generator - Restclient ( #23023 )
...
* Update restclient generator for spring 7
* Cleanup
* Merge pom.xml
* Merge ApiClients
* Update restclient
* Update docs
* Use the same options as server generator
* Sync samples
* Add .gitignore
* Add @JsonIgnore on no-arg constructor
* Add @JsonIgnore only for jackson3
* Remove @JsonIgnore
* Add to output folder
* Update Jackson
* Update jackson
* Update gradle build
* Fix build
* Fix gradle
* Fix build for gradle
* Add missing samples
* Update samples
* Update samples
* Fix kotlin samples
* Change order
* Change permissions for build
2026-03-05 00:00:13 +08:00
William Cheng
cbdee19f87
Update jackson dependencies in Java clients to newer versions ( #23105 )
...
* update jackson in java clients to newer versions
* revert doc
* update annotation
* update fegin
* update
2026-03-04 02:18:50 +08:00
wturk
910caaae92
[csharp] Fix/override central package versions for csharp test projects ( #23092 )
...
* fix: override ManagePackageVersionsCentrally in test .csproj file
* chore: regenerate samples
2026-03-02 22:10:49 +08:00
Timon
bfe5ca84ce
python(pydantic): Use validate_by_name config; populate_by_name will be deprecated ( #22931 )
...
* modules
* pydantic bump
* samples
* revert for fastapi generator and apply pydantic constrain everywhere
2026-02-25 15:51:44 +08:00
dependabot[bot]
1674c72f86
build(deps): bump minimatch and mocha ( #23051 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) to 5.1.8 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha ). These dependencies need to be updated together.
Updates `minimatch` from 3.1.2 to 5.1.8
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v5.1.8 )
Updates `mocha` from 10.2.0 to 10.8.2
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.8.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 5.1.8
dependency-type: indirect
- dependency-name: mocha
dependency-version: 10.8.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 11:22:01 +08:00
Timon
27cced51c0
feat(python): expose all config properties in constructor ( #23021 )
...
* templates
* samples
* scope to python generator
* address suggestions
* revert pydantic-v1
2026-02-24 08:12:12 +08:00
James Kent
a5e2fdf667
[PYTHON] switch from mutable bytearray to immutable bytes to avoid pydantic error ( #22988 )
...
* switch from mutable bytearray to immutable bytes
* update python samples
2026-02-24 07:54:26 +08:00
William Cheng
9432aaf4a3
Prepare 7.21.0 snapshot ( #22984 )
...
* Revert "v7.20.0 release (#22983 )"
This reverts commit bd7fc7f45f .
* update to v7.21.0 snapshot version
* update samples, docs
* update readme
2026-02-16 19:08:09 +08:00
dependabot[bot]
b1022e7a7e
build(deps): bump axios ( #22972 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.7 to 1.13.5.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.7...v1.13.5 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.13.5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-15 14:27:16 +08:00
William Cheng
73dcdd6976
Update python sdk to strip any directory traversal in filename ( #22965 )
...
* update python sdk
Strip any directory traversal
* rebased
* update samples, docs
* fallback case
---------
Co-authored-by: Pavel Slabko <slabkopg@gmail.com >
2026-02-14 00:57:57 +08:00
William Cheng
2ee50ce900
Update axios to newer versions ( #22937 )
...
* update axios to newer versions
* update
2026-02-10 18:30:52 +08:00
William Cheng
7eeab03a57
remove coding: utf-8 as thats the default already ( #22934 )
2026-02-10 16:42:05 +08:00
Timon
d81b0524af
feat(python): enhance retry configuration in REST client ( #22867 )
...
* feat(python): enhance retry configuration in REST client
Updated the retry parameter in the Configuration class to support different types based on the library used (urllib3 or asyncio). Adjusted the RESTClientObject to handle the new retry configuration, allowing for more flexible retry options. This change improves the handling of retries in API requests, ensuring compatibility with various retry strategies.
* add samples
* use async context for retry doc string
2026-02-07 16:38:34 +08:00
Sri Sushma Karra
459f359bf4
[JAVA][FEIGN] Put back hardcoded HTTP Client but without the performance issue created in 8484. This is fix for 21187 ( #22905 )
...
* BUG:21187 put back hardcoded client without the issue created in 8484
* BUG:21187 put back hardcoded client without the issue created in 8484
---------
Co-authored-by: Sri Sushma Karra <srisushmakarra@Sris-MacBook-Air.local >
2026-02-07 00:48:00 +08:00
William Cheng
38f0796759
Update jackson-databind-nullable to v0.2.9 ( #22901 )
...
* update jackson databind nullable to v0.2.9
* update samples
2026-02-05 16:55:15 +08:00
Alex Humphreys
561e5bf9ab
[kotlin][jvm-okhttp4] Fix multipart/form-data with JSON content-type ( #22856 )
...
* [kotlin][jvm-okhttp4] Fix multipart/form-data with JSON content-type
Fixes #16457
Fixes two critical bugs in multipart/form-data handling when parts
have Content-Type application/json:
1. IllegalArgumentException: OkHttp throws "Unexpected header: Content-Type"
because Content-Type was passed in headers map instead of via
asRequestBody(mediaType)/toRequestBody(mediaType) parameter.
2. Invalid JSON serialization: Non-file parts with application/json
Content-Type were serialized using toString() instead of proper
JSON serialization, producing invalid output like:
"MyObject(field1=value, field2=123)" instead of
'{"field1":"value","field2":123}'
Changes:
- Filter Content-Type from headers before passing to OkHttp
- Check part Content-Type and use appropriate serializer (JSON vs toString)
- Add integration tests with echo server to verify fix
- Support all serialization libraries (gson, moshi, jackson, kotlinx)
Fixes issues with multipart endpoints that mix file uploads with
JSON metadata, common in REST APIs for document/image uploads.
* Run mvn clean/package, and regenerate samples
* Add fix for kotlinx serialisation issue
* Refactor multipart helpers for reified type parameter support
* Fix kotlinx.serialization multipart by adding serializer lambda to PartConfig
* Fix internal Ktor API usage in multipart forms
2026-02-04 19:44:39 +08:00
Dennis Ameling
9547ebdc98
[typescript] make TypeScript version configurable ( #20064 )
2026-02-04 19:01:22 +08:00
Rens Groothuijsen
2ab70fa46b
fix(typescript-axios): Ignore unused parameter on JSON serializer replacer function ( #22858 )
2026-02-03 13:08:08 +08:00
William Cheng
f3a21a8bba
update samples
2026-02-02 16:33:22 +08:00
William Cheng
897590ae6a
update undici to newer version in typescript generator ( #22874 )
2026-02-02 15:26:17 +08:00
Bruno Coelho
fd17603109
[Kotlin][Client] Migrate Enum.values() to Enum.entities ( #22852 )
2026-02-02 11:57:12 +08:00
Anderson de Borba
063a780c7a
Removed unnecessary cast to HttpClientErrorException as both classes in the catch extend HttpStatusCodeException ( #22849 )
2026-01-30 10:59:54 +08:00
Matt Pollock
c56ea5557a
[R] avoid to-JSON issues when R6 classes contain lists of R6 classes ( #22828 )
...
* [R] avoid to-JSON issues when R6 classes contain lists of R6 classes
* fix missing comma
* only include extractor methods when they are needed
* regenerate samples
* fix typo
2026-01-29 12:34:17 +08:00
Charaf Rezrazi
9fa18d0c81
feat(typescript): Update isomorphic-fetch file to allow for response streaming ( #22673 )
...
* Update isomorphic-fetch file to allow for response streaming (#1 )
* Update samples/openapi3/client/petstore/typescript/builds/inversify/http/http.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update samples/client/echo_api/typescript/build/http/http.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update samples/openapi3/client/petstore/typescript/builds/object_params/http/http.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* update samples
* fix tests
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-28 02:01:31 +08:00
William Cheng
11e06d1e77
update assertj to newer version ( #22824 )
2026-01-27 15:13:49 +08:00
Matt Pollock
9a0d711cf6
[R] optionally skip parsing responses to R6 objects ( #22705 )
...
* optionally skip parsing responses to R6 objects
* parse -> .parse
* scope .parse to endpoints that return data
* move handling of .parsed so that it applies to both primitive and non-primitive return types
* try, try, again
2026-01-20 12:44:39 +08:00
William Cheng
9adfe986a3
Prepare v7.20.0 release ( #22738 )
...
* Revert "v7.19.0 release (#22732 )"
This reverts commit ff400e9a31 .
* prepare v7.20.0 release
* update samples
* update doc
2026-01-20 03:13:58 +08:00
Ilya Nemtsev
f355dc4c5c
[Java][Native] Fix request compression ( #22688 )
...
* fix request compression
* fix edge case
* regenerated samples
2026-01-19 16:37:22 +08:00
William Cheng
84692d8155
Revert "[kotlin] fix query parameter encoding ( #22512 )" ( #22727 )
...
This reverts commit a3d03bad09 .
2026-01-19 12:44:04 +08:00
Matt Pollock
396c4c61eb
[R] fix error handling in the R client ( #22704 )
...
* fix error handling in the R client
* adjust logic for avoiding logical vectors in a conditional statement
2026-01-18 13:16:33 +08:00
Matt Pollock
428d483f1e
[R] fix set[object] deserialization ( #22697 )
...
* unpack dataframes within a list
* handle set/array
* update httr2 client
2026-01-18 12:56:17 +08:00
Matt Pollock
10d5aa7f56
[R] remove nuisance DUMMY_ENUM warning ( #22692 )
...
* drop nuisance warning
* update samples
2026-01-18 12:41:40 +08:00
Rens Groothuijsen
e0b27485db
[typescript-axios] Handle sets as arrays in input parameters ( #22642 )
...
* [typescript-axios] Handle sets as arrays in input parameters
* Include docstring to explain purpose of replaceWithSerializableTypeIfNeeded function
2026-01-14 15:43:04 +08:00
William Cheng
b1b556ad63
[kotlin] Add integration test for query params ( #22695 )
...
* [kotlin] Add integration test for query params
This is a test for a regression from #22512 where param values
were written as a list.
* add test implementation for kotlin spring client
* add sha tests
---------
Co-authored-by: Piotr Kubowicz <piotr.kubowicz@gmail.com >
2026-01-14 15:34:53 +08:00
dependabot[bot]
7671288210
build(deps-dev): bump virtualenv in /samples/client/echo_api/python ( #22691 )
...
Bumps [virtualenv](https://github.com/pypa/virtualenv ) from 20.27.1 to 20.36.1.
- [Release notes](https://github.com/pypa/virtualenv/releases )
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/virtualenv/compare/20.27.1...20.36.1 )
---
updated-dependencies:
- dependency-name: virtualenv
dependency-version: 20.36.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-14 14:33:31 +08:00
Eren
0da98b06f8
[kotlin-client] Fix enum @JsonCreator to throw for unknown values ( #22663 )
2026-01-12 13:34:50 +08:00
dependabot[bot]
a2883f3d20
build(deps): bump urllib3 in /samples/client/echo_api/python ( #22667 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.6.0 to 2.6.3.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.0...2.6.3 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.6.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-12 13:33:55 +08:00
William Cheng
d39e015487
Use defer file close in go client ( #22596 )
...
* use defer file close in go client
* update samples
2025-12-30 18:27:10 +08:00
William Cheng
23eff6672f
Prepare v7.19.0 snapshot ( #22569 )
...
* Revert "7.18.0 release (#22567 )"
This reverts commit 51228436e0 .
* prepare 7.19.0 snapshot
* update samples
* update doc
* fix date
2025-12-22 19:25:23 +08:00
devhl-labs
9779468cdc
[csharp] Add .net10 support ( #22562 )
...
* added .net10
* delete samples
* delete samples
* build samples again
* build samples again again
* fix pr gate
* update pr gate names
* dont build solution with no project file
* move samples
* move samples
2025-12-22 16:09:33 +08:00
Albert Waninge
a3d03bad09
[kotlin] fix query parameter encoding ( #22512 )
...
* #22339 fix query parameter encoding
* #22339 fix query parameter encoding
* #22339 ran generate-samples with some local adaptations
---------
Co-authored-by: AlbertWaninge <albert.waninge@edsn.nl >
2025-12-18 17:31:27 +08:00
Christopher Molin
149fdcb61f
[Java] Use Fully Qualified Name for java.util.Locale in Generated Classes ( #22342 )
...
* Remove Imports of `Locale` from all `model.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `modelEnum.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `oneof_model.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `api.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `anyof_model.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `pojo.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `ApiClient.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `ApiKeyAuth.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `JSON.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `HttpSignatureAuth.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `Play24CallFactory.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `Play25CallFactory.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `Play26CallFactory.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `apiException.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `clientConfiguration.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `RequestFactory.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `httpLoggingFilter.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `securityApiUtils.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Remove Imports of `Locale` from all `validatorUtils.mustache`-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Use `Locale`-class Via Fully Qualified Name
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated 'sample'-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Revert Changes
* Inline `Locale` Imports
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated 'source' Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update `kotlin-spring/model.mustache`
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated 'sample' Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated 'sample' Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated 'java-feign-hc5' Sample Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated Sample Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Generated Kotlin Sample Files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
---------
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
2025-12-17 15:15:32 +08:00
Ramon Onis
b06fdb5781
fix(kotlin): add JsonCreator/JsonValue to Jackson enums ( #22535 )
...
* fix(kotlin): add JsonCreator/JsonValue for numeric enums
* Regenerate samples
* Update title in numeric enum YAML file
* rename test
2025-12-13 18:54:45 +08:00
Kevin Lin
7ccd039a7b
[java][okhttp-gson] fix: JSON deserialization fallback for String return types ( #22498 )
...
* Use String-based JSON deserialize method with fallback for String return types
* Regenerate samples
2025-12-11 14:47:48 +08:00
dependabot[bot]
104c57319f
Bump urllib3 from 2.2.3 to 2.6.0 in /samples/client/echo_api/python ( #22496 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.2.3 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.3...2.6.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.6.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 15:30:14 +08:00
Jeremy Audet
cfcacf3074
Make python code compatible with urllib3 v2.6.0+ ( #22520 )
...
openapi-generator still uses methods that have been removed from urllib3
v2.6.0. The solution is as described in urllib3's changelog:
> Removed the HTTPResponse.getheaders() method in favor of
> HTTPResponse.headers. Removed the HTTPResponse.getheader(name,
> default) method in favor of HTTPResponse.headers.get(name, default).
> (#3622 )
See https://urllib3.readthedocs.io/en/latest/changelog.html
Close #22514
2025-12-09 15:29:32 +08:00
William Cheng
38c622019e
fix(kotlin-client): jvm-spring-webclient: fix compile error when kotlin detects nullable body ( #22509 )
...
* fix(kotlin-client): jvm-spring-webclient: fix compile error when kotlin detects nullable body
* update samples
---------
Co-authored-by: detomarco <idp.detoma@gmail.com >
2025-12-08 16:10:07 +08:00
William Cheng
788f67dd01
Fix Spring Framework 7 compatibility in jvm-spring-restclient and jvm-spring-webclient ( #22467 )
...
* Fix Spring Framework 7 compatibility issues
Fixes #22368
* update samples
---------
Co-authored-by: jwalter <joakim.waltersson@gmail.com >
2025-12-01 12:24:37 +08:00
Piotr Kubowicz
7b83462a83
[kotlin] Make API classes open (non-final) unless nonPublicApi is used ( #22461 )
...
* [kotlin] Make API classes open (non-final) unless nonPublicApi is used
By making those classes open, AspectJ can be used to enhance their
behavior.
I'm not changing kotlin-multiplatform templates, where 'open' was
already present before my changes.
Closes #22271
* Fail Kotlin sample compilation if API classes stop to be public
Serves as a 'regression test'.
2025-12-01 00:03:29 +08:00