Neeme Praks
753330dd99
[kotlin-spring] Revert nested property placeholder in @RequestMapping that Spring cannot resolve ( #22625 )
2026-01-06 22:19:42 +08:00
Jay
8a82a3eeb2
Add Sarvika Technologies to the list of links ( #22628 )
2026-01-06 22:16:01 +08:00
dependabot[bot]
570915e028
build(deps): bump qs ( #22606 )
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.10.3 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.10.3...v6.14.1 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.14.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-31 16:47:43 +08:00
dependabot[bot]
83f712467a
build(deps): bump uri in /samples/client/petstore/ruby-faraday ( #22607 )
...
Bumps [uri](https://github.com/ruby/uri ) from 0.13.0 to 0.13.3.
- [Release notes](https://github.com/ruby/uri/releases )
- [Commits](https://github.com/ruby/uri/compare/v0.13.0...v0.13.3 )
---
updated-dependencies:
- dependency-name: uri
dependency-version: 0.13.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-31 16:47:28 +08:00
dependabot[bot]
b2ef09b7fd
build(deps): bump qs and express ( #22608 )
...
Bumps [qs](https://github.com/ljharb/qs ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `qs` from 6.11.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.11.0...v6.14.1 )
Updates `express` from 4.18.2 to 4.22.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...v4.22.1 )
---
updated-dependencies:
- dependency-name: qs
dependency-version: 6.14.1
dependency-type: indirect
- dependency-name: express
dependency-version: 4.22.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-31 15:26:17 +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
cd01ba9bc1
Update go samples with more tests, improve code format ( #22593 )
...
* update go samples with more tests
* fix indention
2025-12-30 14:40:46 +08:00
Eric Huang
97af5d1f52
[go] fix default value for array type ( #22584 )
...
* Better handling array schema for `toDefaultValue`
Signed-off-by: titaneric <chenyihuang001@gmail.com >
* add string array and enum array to existing test case
Signed-off-by: titaneric <chenyihuang001@gmail.com >
---------
Signed-off-by: titaneric <chenyihuang001@gmail.com >
2025-12-30 14:08:24 +08:00
Xi Lu
873e27233b
[Normalizer] Copy the title field when creating the ArraySchema object in processNormalize31Spec ( #22592 )
...
* Copy the title field when creating the ArraySchema object in processNormalize31Spec()
* Copy the title field when creating the ArraySchema object in processNormalize31Spec()
2025-12-30 14:00:12 +08:00
Linh Tran Tuan
80be730dcd
[Rust-Axum] Adapt changes upon Host extractor sunset ( #22585 )
...
* [Rust-Axum] Adapt changes upon Host extractor sunset
* Update
2025-12-30 13:49:25 +08:00
dependabot[bot]
19945d909f
build(deps): bump actions/setup-dotnet from 5.0.0 to 5.0.1 ( #22580 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v5...v5.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 13:25:02 +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
William Cheng
51228436e0
7.18.0 release ( #22567 )
2025-12-22 17:32:30 +08:00
William Cheng
ec0a63dcf3
update dotnet 9 versin in workflow ( #22566 )
...
* update dotnet 9 versin in workflow
* revert
2025-12-22 17:23:32 +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
dabdirb
fb2878cb23
fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606 ( #22544 )
...
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
* fix #22492 [BUG][JAVA][MAVEN] Lombok @Getter disables validation and #19743 #18794 #17793 #17606
2025-12-19 13:19:35 +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
William Cheng
6abe6ff1c4
fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums ( #22559 )
...
* fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums
For enum query parameters, the template was incorrectly using asJsonObject()
which returns {"value": "enumValue"} and then iterating over keys, using
"value" as the parameter name instead of the actual parameter name.
This fix adds special handling for both inline enums (isEnum) and referenced
enums (isEnumRef) to use asJson() directly, which returns the correct enum
string value for URL serialization.
Fixes enum query parameters like ?scope=property instead of ?value=property.
Completes the fix started in PR #21211 which added the asJsonObject() method
to make enum code compile, but the template logic was still incorrect for URL
query parameter serialization.
Note: The petstore samples don't contain enum query parameter tests to
demonstrate this fix (they use string arrays). Future contributors may want
to add enum query parameter examples to better showcase this functionality.
* add tests for enum inline, ref for query parameters
* update cmake version to 3.5
---------
Co-authored-by: Sohaib Athar <sohaibathar@gmail.com >
2025-12-18 16:52:50 +08:00
Tim Grohmann
a529769bf3
feat: #22267 Use type formatting logic while applying non-container exploded query parameter ( #22268 )
2025-12-18 16:18:14 +08:00
Dennis Melzer
1722f5591b
feat: prevent variable resolution when prefixed with $ in server URL templates ( #22550 )
...
* feat: no url replacement for $ variables
* fix test
2025-12-18 15:45:18 +08:00
William Cheng
20136f4b9a
[REQ-22001][FIX] Add MCP server support to apiService.mustache ( #22558 )
...
Co-authored-by: RL6172 <thibaut.rety@external.engie.com >
2025-12-18 13:52:48 +08:00
dsteeley
f484aeac2c
feat: Add serde_validate support. ( #22553 )
...
In addition to existing rust-server validation support.
2025-12-18 00:12:01 +08:00
thibautrety
833d1d3d38
[REQ-22001] Add MCP server support to apiService.mustache ( #22197 )
...
* Add MCP server support to apiService.mustache
Refactor apiService.mustache to include MCP server support and enhance operation methods.
* Update samples
* update samples in wsl
* remove useless import when mcp is disabled
---------
Co-authored-by: RL6172 <thibaut.rety@external.engie.com >
2025-12-17 16:42:55 +08:00
Nicolas Rodriguez
8e7fd3cfb9
fix(generator): fix java.lang.NullPointerException: Cannot read field "name" because "codegenModel" is null ( #22545 )
2025-12-17 16:39:49 +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
ricardogrande-masmovil
e1edb9e645
fix: missing imports for array of files and date-time parameters ( #1 ) ( #22390 )
2025-12-17 15:13:45 +08:00
Jurrie Overgoor
e4a26ce307
[Java] Support JsonNullable in JaxRS-spec (issue #9018 ) ( #22412 )
...
* Support JsonNullable in JaxRS-spec
* Add sample files that are now modified (new import)
* Fix build issue with jaxrs-spec-microprofile-openapi-annotations sample
2025-12-17 15:04:37 +08:00
essapp
1d79f3671a
fix: Correct the jsonb according to the logic of jackjson, and solve the problems caused by the changes in v4 style. ( #22488 )
...
Co-authored-by: rainmenzhao <43979071+rainmenzhao@users.noreply.github.com >
2025-12-17 15:03:52 +08:00
Mattias Sehlstedt
09a5800771
Centralize the definition of vendor extensions tied to the discriminator ( #22542 )
2025-12-17 14:59:18 +08:00
Ondra Karmazín
a9f439f1c6
[kotlin-client] ALL: Stop html-escaping default enum parameters ( #22506 )
...
The enum constants may be backtick-escaped reserved words (e.g. "DocumentDisposition.`inline`"). Mustache html-escapes the backticks, leading to invalid code such as "DocumentDisposition.`inline`".
This change adjusts all Kotlin client Mustache templates to pass the values through as raw values.
2025-12-14 13:03:38 +08:00
Ondra Karmazín
c5ebcda902
[kotlin-client] Vert.x: Fix enum class name template for default operation parameters ( #22504 )
...
This change brings the class name construction in line with the other Kotlin client generators.
Fixes #22503
2025-12-13 23:45:29 +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
Mateusz Piękos
5f28987b17
Adapted scala-sttp4-jsoniter to use orFail instead of getRight when using separateErrorChannel=false ( #22536 )
2025-12-13 18:53:14 +08:00
dependabot[bot]
0b296bf50f
Bump actions/download-artifact from 6 to 7 ( #22539 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-13 11:31:11 +08:00
dependabot[bot]
39da542b99
Bump actions/upload-artifact from 5 to 6 ( #22538 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-13 11:31:00 +08:00
dependabot[bot]
6d7e8c69a0
Bump actions/cache from 4 to 5 ( #22531 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 17:16:38 +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
Thiago Arrais
8f8001ea1a
fix(go): do not generate unused imports ( #22524 )
...
Fixes #20599
2025-12-10 19:54:42 +08:00
dsteeley
5c28ab4db2
fix: Update rust-server Cargo.toml to fix client feature compile ( #22511 )
2025-12-09 15:54:36 +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
5a6fcd3bd5
[kotlin][client] Deprecate jvm-volley support ( #22521 )
...
* deprecate kotlin jvm volley support
* delete files
2025-12-09 15:27:21 +08:00
Yong-Han Lin
3b232f6a90
fix: five nondeterministic tests ( #22513 )
2025-12-09 14:50:08 +08:00
William Cheng
8ad6fff26f
python-fastapi: avoid log message in constructor ( #22522 )
...
* python-fastapi: avoid log message in constructor
* update doc
2025-12-09 14:47:41 +08:00
dependabot[bot]
7cc0a7adac
Bump @modelcontextprotocol/sdk and @angular/cli ( #22516 )
...
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk ) to 1.24.0 and updates ancestor dependency [@angular/cli](https://github.com/angular/angular-cli ). These dependencies need to be updated together.
Updates `@modelcontextprotocol/sdk` from 1.17.3 to 1.24.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases )
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.3...1.24.0 )
Updates `@angular/cli` from 20.3.6 to 20.3.13
- [Release notes](https://github.com/angular/angular-cli/releases )
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/angular/angular-cli/compare/20.3.6...20.3.13 )
---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
dependency-version: 1.24.0
dependency-type: indirect
- dependency-name: "@angular/cli"
dependency-version: 20.3.13
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 13:43:56 +08:00
dependabot[bot]
74f7351718
Bump @angular/compiler ( #22517 )
...
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler ) from 19.0.1 to 19.2.17.
- [Release notes](https://github.com/angular/angular/releases )
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md )
- [Commits](https://github.com/angular/angular/commits/19.2.17/packages/compiler )
---
updated-dependencies:
- dependency-name: "@angular/compiler"
dependency-version: 19.2.17
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 13:43:41 +08:00
dependabot[bot]
d59a54a18a
Bump @modelcontextprotocol/sdk and @angular/cli ( #22518 )
...
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk ) to 1.24.0 and updates ancestor dependency [@angular/cli](https://github.com/angular/angular-cli ). These dependencies need to be updated together.
Updates `@modelcontextprotocol/sdk` from 1.17.3 to 1.24.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases )
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.3...1.24.0 )
Updates `@angular/cli` from 20.3.6 to 20.3.13
- [Release notes](https://github.com/angular/angular-cli/releases )
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md )
- [Commits](https://github.com/angular/angular-cli/compare/20.3.6...20.3.13 )
---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
dependency-version: 1.24.0
dependency-type: indirect
- dependency-name: "@angular/cli"
dependency-version: 20.3.13
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 13:43:28 +08:00
Nicolas Rodriguez
c91df9edd4
[crystal] fix Model#to_h method ( #22508 )
...
* fix(crystal): fix Model#to_h method
* fix(crystal): make optional parameters truly optional
* fix(crystal): update samples
* fix(crystal): fixx model validation with nil values
* feat(crystal): improve enum validation
* fix(crystal): use litteral regex
* fix(crystal): call #to_h instead of #to_hash
* fix(crystal): update samples
2025-12-09 11:31:15 +08:00
Sergey Fetiskin
b86213bea3
[typescript-node] Fixes generation when parent contains TypeScript primitive ( #22401 )
...
* fixes parents when schema has additional properties
* exclude primitive types from parent property
2025-12-08 22:26:42 +01:00
William Cheng
ce21b9e503
update urllib3 to newer version ( #22515 )
2025-12-08 22:20:35 +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
74c551cd88
disable ts integration testws ( #22501 )
2025-12-07 15:46:28 +08:00
Károly Kiripolszky
8d17f662de
fix(KotlinClientCodegen): store parsed bool values in additionalProperties ( #22491 )
2025-12-07 10:56:36 +08:00
dependabot[bot]
4f9f14a7d8
Bump express ( #22483 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.0 to 4.22.1.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.0...v4.22.1 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 4.22.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 17:57:08 +08:00
William Cheng
da778c46b0
add option to set params_encoder ( #22484 )
2025-12-02 17:54:44 +08:00
dependabot[bot]
abea33c32a
Bump express ( #22481 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.0 to 4.22.1.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.0...v4.22.1 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 4.22.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 17:04:35 +08:00
dependabot[bot]
7a431db7ef
Bump express from 4.19.2 to 4.22.1 in /website ( #22479 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.19.2 to 4.22.1.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...v4.22.1 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 4.22.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 13:31:43 +08:00
Nicolas Rodriguez
f125e1072f
[crystal-lang] Various fixes for Crystal client ( #22465 )
...
* [crystal] implement "multi" params
See: https://github.com/mamantoha/crest?tab=readme-ov-file#crestnestedparamsencoder
* [crystal] remove useless templates (imported from ruby)
2025-12-02 11:15:35 +08:00
William Cheng
9a6f14ad47
Add workflow to test Crystal client ( #22477 )
...
* add workflow to test crystal client
* update
* shards install
* fix
* use localhost
2025-12-02 11:04:54 +08:00
Julian Ste
2d3082a1b7
Fixes oatpp generator to expose network server on 0.0.0.0 instead of localhost ( #22330 )
...
* Change server address from 'localhost' to '0.0.0.0'
* Change server connection to listen on all interfaces
2025-12-02 10:12:24 +08:00
KRJ-RTX
18b359ba17
Add Basic and Bearer Authorization to the CPP Pistache generator ( #22337 )
...
* [cpp][pistache-server] Add extraction and forwarding of credentials for HTTP Basic protected endpoints.
* [cpp][pistache-server] Change HTTP Basic credentials to be contained on a struct instead of two std::strings
* [cpp][pistache-server] Add callbacks to authenticate http basic credentials.
* [cpp][pistache-server] Add `void* userdata` to HttpBasicCredentials.
This allows for data ft be passed on from the authenticator to the
handler implementation. For example a userid that has already been
looked up
* [cpp][pistache-server] Add support for HTTP Bearer authentication.
* [cpp][pistache-server] Add new file `api-base-source.mustache`
`api-base-source.mustache` contain implementations of security
related methods and also the empty constructor.
* [cpp][pistache-server] Add re-generated samples.
* Fix PR 19978: Updated indentation levels and fixed test problems
---------
Co-authored-by: Morten Winkler <morten@winkler.dk >
2025-12-02 10:07:47 +08:00
dependabot[bot]
39ea9b6da7
Bump express in /samples/client/others/typescript-angular-v20 ( #22475 )
...
Bumps [express](https://github.com/expressjs/express ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 5.2.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 10:07:00 +08:00
dependabot[bot]
fc5ccdf3a5
Bump express ( #22473 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.22.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.22.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.22.0 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 4.22.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 10:06:49 +08:00
dependabot[bot]
bf5f7b0d6b
Bump swift-actions/setup-swift from 2 to 3 ( #22476 )
...
Bumps [swift-actions/setup-swift](https://github.com/swift-actions/setup-swift ) from 2 to 3.
- [Release notes](https://github.com/swift-actions/setup-swift/releases )
- [Commits](https://github.com/swift-actions/setup-swift/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: swift-actions/setup-swift
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 10:06:32 +08:00
dsteeley
41f97d8187
fix: Rust-server bytes response fixed to not attempt string conversion ( #22471 )
2025-12-01 21:36:50 +08:00
scarf
5a2503dc49
fix(typescript-fetch): fix logic when stringEnums is explicitly set to false ( #22466 )
...
Passing `stringEnums=false` was incorrectly treated as `true`. This went unnoticed since the default behavior works as expected. Made the logic consistent with `typescript-axios`.
2025-12-01 09:51:13 +01:00
Linh Tran Tuan
1e7ca08ccc
[Rust-Axum] Fix: do not gen Partial Ord/Ord for Any type ( #22469 )
2025-12-01 16:38:32 +08:00
William Cheng
c0d98864e0
[Java] fix missing header parameters in the generated google-api-client Java client ( #22468 )
...
* fix(java): add header parameter handling for google-api-client
Header parameters defined in OpenAPI specs were being accepted as method
parameters but never actually added to the HTTP request.
Fixes #22457
* update samples
* minor enhancement
---------
Co-authored-by: artnan <artn@outlook.com >
2025-12-01 13:09:28 +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
dsteeley
453997bd16
Ensure rust-server compiles with no-default-features ( #22445 )
2025-11-30 23:05:25 +08:00
Elric Milon
e9bc44bebe
[Rust] Implement support for multipart file uploads for reqwest-async and reqwest-trait ( #22454 )
...
* feat(Rust): Add support for multipart file uploads in reqwest generators
* chore: Regen relevant samples affected by the updated multipart support
2025-11-30 23:04:29 +08:00
gonzalad
7a48bd8ef5
[typescript-angular] fix integration tests ( #22463 )
...
The expected files where not the correct ones.
2025-11-29 16:46:43 +08:00
William Cheng
1689d7b5b6
Typescript-Angular: Fix several query parameters serialization issues ( #22459 )
...
* Generate skeleton for new integration test
* Typescript-angular: Move query param deep-object test
* typescript-angular: Add query param JSON test
* Typescript-angular: Add query param form test
* Test for #20998
* typescript-angular: Reimplement query param serialisation
This notably fixes:
- JSON query param serialisation
- array serialisation with style=form and explode=true
As the class HttpParams from Angular is specially designed for the
mimetype: `application/x-www-form-urlencoded` it does not support
the range of query parameters defined by the OpenAPI specification.
To workaround this issue, this patch introduces a custom
`OpenAPIHttpParams` class which supports a wider range of query param
styles.
Note that as `HttpClient` is used afterwards, the class
`OpenApiHttpParams` has a method to convert it into a `HttpParams` from
Angular with a no-op HttpParameterCodec to avoid double serialisation of
the query parameters.
* update samples
---------
Co-authored-by: Vladimir Svoboda <vsvoboda@forkoder.eu >
2025-11-28 20:59:29 +08:00
David Gamero
08858a91e6
[typescript] migrate node-fetch to undici ( #22408 )
...
* migrate typescript generator to undici
* smaples
* missing comma
* upgrade types in encode test
* remove EOL node versions, add new LTS
* fix export issue in encode/decode
* d.js issue and commonjs module in tsconfig for esm dual support
* update samples merge master
* sync samples
* files samples
2025-11-27 16:36:19 +08:00
William Cheng
e9c842f150
fix: do not add dependency on urllib3 if not required ( #22453 )
...
* fix: do not add dependency on urllib3 if not required
* update samples
* remove import
---------
Co-authored-by: Sascha Kreutz <saschakreutz@hotmail.de >
2025-11-27 16:03:21 +08:00
dependabot[bot]
41c54e8122
Bump node-forge ( #22447 )
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-version: 1.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 14:45:57 +08:00
dependabot[bot]
b8df8e7f22
Bump node-forge ( #22448 )
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-version: 1.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 14:45:47 +08:00
William Cheng
578bdbe679
minor fix documentation for customization ( #22440 )
2025-11-26 18:00:50 +08:00
Jachym Metlicka
1b557790e6
[kotlin-spring][server] Feat: Return from controllers without ResponseEntity wrapper. ( #22377 )
...
* remove "async" and "responseWrapper" from template as these are not supported by kotlin-spring generator
* try to force pipelines rerun
* force pipelines rerun
* fix mustache to keep generated code identical
* Revert "fix mustache to keep generated code identical"
This reverts commit c573b43401 .
* Reapply "fix mustache to keep generated code identical"
This reverts commit 2c3b065c5c .
* Add support for 'useResponseEntity' in kotlin-spring. Consolidate with the separate flag 'declarativeInterfaceWrapResponses' as these can now be controlled both by one flag. Default to true.
* fix status annotation and add compile-test samples
* satisfy samples-up-to-date check
* add unit tests covering both reactive and non-reactive
* fix template to avoid unnecessary empty line
* fix template to avoid unnecessary empty line
* put method params (if present) on separate lines to improve readability
* put method params (if present) on separate lines to improve readability; fix double spaces, spaces before comma, incorrect spaces
* fix test
* store PATHs as accesible strings in companion objects.
* fix missing import
* fix incorrect import
* fix fallback to nested placeholders.
2025-11-26 18:00:17 +08:00
William Cheng
3d6e9d5693
better format in build.gradle (kotlin) ( #22439 )
2025-11-26 17:41:17 +08:00
Konstantin Ignatyev
b9d4b56d1c
added ability to publish kotlin-client to maven local repo ( #22438 )
...
* this allows pushing client jar to local maven repository gradle -i clean jar publishToMavenLocal; also generates jar with sources;
* this allows pushing client jar to local maven repository gradle -i clean jar publishToMavenLocal; also generates jar with sources;
2025-11-26 16:59:41 +08:00
Julian Vennen
ea62c676c9
[php][php-nextgen] Cleanup api authentication code when using api keys in cookies or supporting multiple authentication methods ( #22433 )
2025-11-26 14:36:16 +08:00
dependabot[bot]
6be8fb3047
Bump actions/setup-dotnet from 5.0.0 to 5.0.1 ( #22437 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-26 13:54:45 +08:00
David Gamero
6e0fe098f1
[typescript] replace headers with same case-insensitive key to match http spec ( #22393 )
...
* replace headers with same caseinsensitive key to match http spec
* regenerate samples
* regenerate samples
* enable test for header case-insensitive replacement
* reduce redundant test comments
2025-11-25 10:58:22 +01:00
dschodits-secunet
41024dc23b
[JAVA](native-client) Add support for UnaryInterceptors ( #22381 )
...
* added UnaryInterceptor functionality
* set useUnaryInterceptor default to false
* added generated files
* updated generated files to new default value
* fixed asyncResponseInterceptor and indentations
* fixed newlines and generate comments on config
* updated comment in async response interceptor
* reverting docstring
* adjusting newlines
2025-11-25 13:54:29 +08:00
Devon
9116411dac
[cpp-rest] Fixes segfault for nullable strings ( #22405 )
2025-11-25 13:37:05 +08:00
William Cheng
1c447a1605
update swagger parser to 2.1.36 ( #22429 )
...
* update swagger parser to 2.1.36
* comment out test
2025-11-25 13:21:36 +08:00
Devon
4a7e0c9bdc
[nim] Nim Generator Fixes ( #22385 )
...
* Nim Generator Fixes
* remove test that is tested via yaml anyway
* Only include required parameters or non-empty optional parameters in URLs, support oneOf/anyOf via nim object variants, optional field support
* snapshot
* docs gen
* Improved handling of enums
2025-11-23 17:19:16 +08:00
Ruben Hönle
65f99ebb21
fix(enums): add character handling for euro symbol ( #22414 )
...
relates to #22413
2025-11-23 17:08:11 +08:00
William Cheng
5d12e71b40
[typescript-rxjs] Feat: Add @deprecated JSDoc tag to API operations ( #22419 )
...
* feat(typescript-rxjs): Add @deprecated tag to generated API operations
This commit introduces the JSDoc @deprecated tag to API operations in the typescript-rxjs generator when the operation is marked as deprecated in the OpenAPI specification.
This ensures that IDEs (like VS Code or WebStorm) correctly flag the method as deprecated, providing better developer experience and warning consumers about upcoming removals or changes.
* minor updates
---------
Co-authored-by: Dirk Niemeier <dirk.niemeier@cgi.com >
2025-11-23 16:15:43 +08:00
Cas van Dinter
5711f391e9
build(pom): update swagger-parser to 2.1.35 ( #22410 )
2025-11-23 15:24:11 +08:00
Josh Wulf
ddfcc95b61
fix: use httpx in generated configuration.py ( #22418 )
...
* fix: use httpx in generated configuration.py
* fix: add enum_values for httpx
* chore: update petstore samples
2025-11-23 15:11:48 +08:00
Ary Obenholzner
c5e0d0840b
[typescript-nestjs-server] Fix #21842 by updating api.module.mustache ( #22403 )
2025-11-23 00:16:34 +08:00
Brendan Burns
8a4246cbaf
Add support for custom tls server names. ( #22372 )
...
* Add support for custom tls server names.
* Update samples
* Fix missing declaration.
2025-11-20 10:36:11 +08:00
William Cheng
a1b962d0b6
minor change to code format in package.json (ts nestjs server) ( #22397 )
2025-11-20 10:35:29 +08:00
dependabot[bot]
3b4494d751
Bump glob and @nestjs/cli ( #22396 )
...
Bumps [glob](https://github.com/isaacs/node-glob ) to 12.0.0 and updates ancestor dependency [@nestjs/cli](https://github.com/nestjs/nest-cli ). These dependencies need to be updated together.
Updates `glob` from 11.0.1 to 12.0.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.1...v12.0.0 )
Updates `@nestjs/cli` from 11.0.7 to 11.0.12
- [Release notes](https://github.com/nestjs/nest-cli/releases )
- [Changelog](https://github.com/nestjs/nest-cli/blob/master/.release-it.json )
- [Commits](https://github.com/nestjs/nest-cli/compare/11.0.7...11.0.12 )
---
updated-dependencies:
- dependency-name: glob
dependency-version: 12.0.0
dependency-type: indirect
- dependency-name: "@nestjs/cli"
dependency-version: 11.0.12
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 10:11:24 +08:00
William Cheng
2c4c24728f
update ruby samples
2025-11-20 10:04:12 +08:00
Devon
5ad2f84650
[Ruby] Fixes anyOf Support in Responses ( #22392 )
...
* [Ruby] Fixes anyOf Support in Responses
* re-gen samples
* Revert "re-gen samples"
This reverts commit 1b4d85d359 .
2025-11-20 09:59:43 +08:00
William Cheng
74be550d94
update go-gin crypto to newer version ( #22395 )
2025-11-20 09:44:53 +08:00
William Cheng
554e10dc34
Fix siblings of $ref using allOf in openapi normalizer ( #22364 )
...
* fix ref sibiling using allOf in normalizer
* update samples
2025-11-19 20:35:07 +08:00
William Cheng
6699ecd9d2
update jersey3 to newer version ( #22388 )
2025-11-19 19:19:54 +08:00
Xi Lu
9655c22ff6
[Protobuf] Add isEnumSchema check in generateNestedSchema ( #22384 )
...
Co-authored-by: xil <xil@uber.com >
2025-11-19 17:46:43 +08:00
William Cheng
6210db308e
fix website to use load instead of safeLoad ( #22386 )
2025-11-19 16:53:26 +08:00
Daniil Iastremskii
e86daf9059
Add support for oneOf with discriminator when using kotlinx.serialization ( #22373 )
...
* Generate wrappers for oneOf with discriminator when using kotlinx.serialization
* Add spec with oneOf using discriminator
* Add config to generate samples
* Generate samples
* Update samples
* Change naming of wrapper classes
* Fix empty model test
* Update GH workflow with new samples
2025-11-19 02:55:37 +08:00
Jachym Metlicka
c52cc1f275
[kotlin-spring][server] Feat: Make it possible to include "HttpServletRequest" or "ServerWebExchange" as a method parameter in controller interfaces and/or implementations ( #22263 )
...
* modify templates to enable possibility to add reactive or blocking request context
* add logic to enable additional property
* regenerate files
* regenerate documentation
* revert unrelated formatting changes
* revert commented out code
* add tests
* refactor test to DRY them a bit
* move tests around
* increase tests coverage
* fix for delegate
* fix for delegate - and refactor tests
* fix tests
* refactor tests
* add tests for delegate
* add kotlin project compile check test for include-http-request-context
* fix
* fix
* fix output folder naming. Add the sample to github action config file.
* add missing interfaces to fix compilation
* regenerate samples
* fix also api_test.mustache to enable testing
* add tests for generated tests
2025-11-19 00:29:07 +08:00
dsteeley
2c7efda060
Update rust-server swagger dependency to 7.0 ( #22365 )
2025-11-17 18:59:28 +08:00
dependabot[bot]
107d72c5f5
Bump js-yaml from 3.14.1 to 4.1.1 in /website ( #22363 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.14.1 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...4.1.1 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.1.1
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-11-17 13:48:21 +08:00
Levi Lutz
a52e902cb5
[RUST] Fix #22356 / Introduce useSerdePathToError option to improve JSON error messages ( #22357 )
...
* Add CLI option
* Add dep to generated Cargo.toml
* Add new `Error::SerdePathToError` error type
* Add `serde_path_to_error` invocation to API layer
* Add sample for serde-path-to-error
* Add arg & docstring to cliOptions as well
* Fix sample
2025-11-16 22:13:55 +08:00
ddl-rliu
547eee1970
[BUG] Fix #22351 by updating exceptions.mustache to log both the response data and response body, when applicable ( #22352 )
...
* Update exceptions.mustache
* Add autogen files
2025-11-16 22:06:23 +08:00
Jachym Metlicka
c1c74c0ec8
[kotlin-spring][server] Feat: Add Spring Declarative HTTP Interface support for easy client instantiation ( #22302 )
...
* add required template files and logic in generator
* add possibility to choose between coroutines and reactor style reactive for spring declarative http client
* remove Flow as array-type input param for declarative http interface
* better name for switches
* revert change
* fix implementation and add tests
* revert unrelated formatting changes
* add compile check for generated code to github action config file
* fix output folder for config files
* commit generated files
* commit generated docs files
* fix compile test output folder names
* fix sample generation
* fix compile to jdk 17+
* force test rerun
* remove misleading warning
* remove extraneous mustache files. Rebuild samples
* restoring incorrectly deleted output files
2025-11-16 21:54:19 +08:00
William Cheng
7690545276
add sample to test useGzipFeature in java native ( #22361 )
2025-11-16 21:52:17 +08:00
Ilya Nemtsev
ecb1e9e2cb
[JAVA][NATIVE] Add gzip capability ( #22358 )
...
* add gzip capability
* fixed test
* added docstring
* regenerated samples
2025-11-16 21:23:08 +08:00
Daniil Iastremskii
039de98d4f
Fix generation of an empty data class when using kotlinx.serialization ( #22350 )
...
* Fix generation of an empty data class
* Add a test
* Delete polymorphicJacksonSerialization artifacts on exit
2025-11-16 18:59:21 +08:00
William Cheng
6892768009
[typescript-axios] add support for accept headers ( #22318 )
...
* cherry pick the change from 22299
* fix accept headers
2025-11-15 14:40:58 +08:00
dsteeley
fd72d4d521
Merge branch 'allow-trait-mocking' into 'rust-openapi' ( #22332 )
...
allow trait mocking
See merge request tools.core/swagger-codegen!379
Co-authored-by: Richard Whitehouse <richard.whitehouse@metaswitch.com >
2025-11-13 13:45:30 +08:00
dsteeley
1e3f6d0ed9
Refresh rust-server Cargo.toml wiht updated dependencies and move jsonwebtoken to dev-deps ( #22338 )
2025-11-12 19:18:14 +08:00
William Cheng
886e4a6dd0
[kotlin] Test array integer (enum) with kotlin client generator ( #22336 )
...
* add tests for array of enum
* update
2025-11-12 16:39:01 +08:00
William Cheng
57d304f3f6
add tests for deprecated enum class ( #22335 )
2025-11-12 16:09:42 +08:00
William Cheng
59f7d09c2e
[java][jersey2][jersey3] Cleanup samples ( #22328 )
...
* clean up java jersey3 smaples
* clean up jersey3 samples
* update tests
2025-11-12 15:40:19 +08:00
Christopher Molin
ec8ca20dec
[Java] Support Deprecation of Generated enum-classes ( #22312 )
...
* [Java] Annotate Deprecated `enum`-classes with `@Deprecated`
* Update Generated 'samples'-files
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update `modelEnum.mustache` According to Review Comment
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 Java Native `modelEnum.mustache` File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Java JaxRS `modelEnum.mustache` File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Java Okhttp-gson `modelEnum.mustache` File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Java Micronaut `modelEnum.mustache` File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
* Update Java Helidon `modelEnum.mustache` File
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
---------
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com >
2025-11-12 15:33:28 +08:00
Olek Janiszewski
2ab5365fb2
Fix kotlin codegen for enum with int items ( #22324 )
2025-11-11 22:18:43 +08:00
dsteeley
2326eef7cf
Fixups for rust-server hyper1 support ( #22321 )
2025-11-11 18:27:11 +08:00
Julian Vennen
d318752478
[php][php-nextgen] fix return type if empty and non-empty responses are mixed ( #22322 )
2025-11-10 22:06:21 +08:00
Julian Vennen
86ff873a03
[php][php-nextgen] fix array enum query parameters ( #22320 )
2025-11-10 19:14:41 +08:00
rignicat
28e2254e7a
[JAXRS] Partial revert changing path generation if interface, fixes #22279 ( #22316 )
...
* Partial revert changing path generation if interface
This reverts commit 65703ff320 .
* update samples and docs
2025-11-10 16:54:06 +08:00
William Cheng
69da1ea470
Add new JAX-RS samples to Github workflow ( #22314 )
...
* add new jaxrs samples to github workflow
* trigger ci
2025-11-10 15:07:40 +08:00
Raoul de Haard
b1f2a67bc3
[JAVA jaxrs-spec gen] add option for generating swagger V3 annotations ( #22300 )
...
* feat: add support for Swagger v3 annotations to jaxrs-spec
* test added unittest for jaxrs-spec with swagger3Annotations
* test added integrationtest for jaxrs-spec with swagger3Annotations
* test added integrationtest for jaxrs-spec with swaggerV2Annotations
* documentation update for new option useSwaggerV3Annotations in the jaxrs-spec.md
* test added integrationtest for jaxrs-spec with swaggerV3Annotations icm use JakartaEE
* update documentation by executing: ./bin/utils/export_docs_generators.sh
* ran on wsl: ./bin/generate-samples.sh ./bin/configs/*.yaml
2025-11-10 14:50:10 +08:00
BiekerUdan
48648a4051
fix(c): Remove duplicate code generation for UUID path parameters ( #22285 )
...
* fix(c): Remove duplicate code generation for UUID path parameters
The C generator was generating duplicate path parameter handling code
when a parameter had format: uuid. This occurred because UUID parameters
have both isString=true and isUuid=true flags set, causing both the
{{#isString}} and {{#isUuid}} template blocks to execute.
The duplicate {{#isUuid}} block has been removed since it generated
identical code to the {{#isString}} block. This makes UUID parameters
consistent with email parameters, which already work this way
(isEmail=true and isString=true, but only use the {{#isString}} block).
The generated code now compiles successfully without duplicate variable
declarations.
* test(c): Add UUID path parameter test case to petstore
Adds endpoint with UUID path parameter to verify C generator produces compilable code without duplicate variable declarations.
* chore(samples): Regenerate all C samples with template fix
Regenerated all C sample variants to include the UUID path parameter example.
2025-11-10 14:36:58 +08:00
William Cheng
a6c753ea69
php template minor refactoring ( #22310 )
2025-11-09 17:22:18 +08:00
William Cheng
81285b75e4
add exts alias to simply the templates (rust-server) ( #22309 )
2025-11-09 15:42:14 +08:00
William Cheng
c596bb7d8a
add check for optionl to show null in doc (php) ( #22307 )
2025-11-08 23:12:27 +08:00
Enric Pou
ce338a4a23
Added UUID support in python docs ( #22301 )
2025-11-08 22:29:12 +08:00
Achton Smidt Winther
fb444bf15e
[php] Fix PHP generator validation for nullable required properties ( #22292 )
...
* [php] Fix null+required properties to accept null values in generated models. Also fix PHP annotations related to same.
* [php] Update samples.
2025-11-08 22:28:37 +08:00
macmanad
a144678459
[csharp][generichost] Fix format string parameter ( #22282 ) ( #22283 )
...
* [csharp][generichost] Fix format string parameter (#22282 )
* Update samples
2025-11-08 21:54:42 +08:00
William Cheng
95b9438fd9
add tests for api key name in ccp rest sdk ( #22306 )
2025-11-08 21:38:06 +08:00
Devon
7beb8a6102
[cpp-rest] Fixing Incorrect Header Name Used ( #22298 )
2025-11-08 21:19:07 +08:00
Devon
2107686d3d
[Rust Reqwest] Fixes Enums in Query Parameters via Causing Compilation Failure ( #22281 )
...
* [Rust Reqwest] Fixes Enums in Query Parameters via Causing Compilation Failure
* regen
2025-11-08 20:56:07 +08:00
Mattias Sehlstedt
7486f12e62
Correct unsafe pistache documentation link ( #22296 )
...
* Replace outdated/incorrect documentation link with correct https version
* Generate samples
2025-11-08 15:04:52 +08:00
Enric Pou
600c051fa5
Dart Dio: fix typo in markdown files ( #22293 )
2025-11-08 15:04:06 +08:00
Enric Pou
f37b8cce58
Add UUID examples and documentation ( #22303 )
2025-11-08 14:56:46 +08:00
William Cheng
64c8711356
[python] Fix pyproject (poetry 2.x) for httpx ( #22289 )
...
* fix poetry 2 httpx dependencies
* use poetry 2 for tests
2025-11-06 14:09:54 +08:00
Michael Munch
65359d8050
[Java] Use new location for hibernate validator ( #22287 )
...
* Use new location for hibernate validator
org.hibernate:hibernate-validator -> org.hibernate.validator:hibernate-validator
* Update samples
* Update samples
---------
Co-authored-by: Michael Munch <mmu@bankdata.dk >
2025-11-06 01:42:18 +08:00
Linh Tran Tuan
7ce0096e73
[Rust-Axum] Fix Regex ( #22277 )
2025-11-04 13:35:51 +08:00
Aman Rao
0ae50f5a10
Fixes #22146 . Fixed the code to call the correct method to prevent duplication of Prefix added to the model when using --model-name-prefix ( #22188 )
...
* Fixes #22146
* Added handling for when super.getSchemaType method
returns null
2025-11-03 15:26:22 +08:00
William Cheng
3347204425
[java][microprofile] Using incorrect @Multipart instead of @FormParam ( #22266 )
...
* fix : #10618 Using incorrect @Multipart instead of @FormParam in microprofile java client
[BUG][JAVA] Using incorrect @Multipart instead of @FormParam when generated Microprofile java client #10618
https://github.com/OpenAPITools/openapi-generator/issues/10618
* fix : #10618 put updated samples under sourcecontrol
* fix : #10618 delete configoption disableMultipart for microprofile
* fix : #10618 put updated samples after cleanup of "disableMultipart"
* fix : #10618 make samples compile and switch jandex-maven-plugin
* fix : #10618 sync my fork with upstream & clean pom
* fix : #10618 regenerate samples
* fix : #10618 microprofile-rest-client-with-useSingleRequestParameter
* update
* update
---------
Co-authored-by: Riedlinger, Jochen (IT 480) <jochen.riedlinger@l-bank.de >
Co-authored-by: Jochen Riedlinger <j_ri@gmx.de >
Co-authored-by: Jochen Riedlinger <14962274+jochenr@users.noreply.github.com >
2025-11-02 16:56:10 +08:00
Lars van Leeuwen
93d7821281
Patch dependencies ( #22262 )
2025-10-31 22:08:58 +08:00
William Cheng
1e614d4b96
update samples
2025-10-31 16:07:52 +08:00
Marcel Jacek
66b742038a
fix(java): default values from allOfs are not correctly definied ( #22200 )
...
* fix: extend check for default values of integer and number schema
* add testcases to openapi specs
* generate java clients with the updated fix
2025-10-31 15:58:20 +08:00
William Cheng
9b8ab659ac
update undertow to newer version ( #22259 )
2025-10-31 13:27:43 +08:00
William Cheng
f9d2b8b579
Prepare v7.18.0 release ( #22250 )
...
* Revert "v7.17.0 release (#22248 )"
This reverts commit 0120486e62 .
* prepare v7.18.0 release
* update samples
* update doc
2025-10-30 01:25:35 +08:00