12007 Commits

Author SHA1 Message Date
scarf
6332eabe20 fix(typescript-axios): add trailing commas to as const enums (#23275)
Keep enum object diffs smaller when values are appended.
2026-03-17 14:53:19 +08:00
William Cheng
3397d121e8 update samples 2026-03-17 13:04:31 +08:00
Christopher Molin
fdda9fc54c [Java] Replace if with ? in Generated toIndentedString-methods (#23209)
* [Java] Refactor `toIndentedString`-method to use `String::valueOf`

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Replace Conventional if-statment with Ternary Operator in `toIndentedString`-methods

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Generate `j*` Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Generate `spring*` Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Generate `java-*` Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Generate `java-*` Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

---------

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>
2026-03-17 12:30:52 +08:00
William Cheng
4fdc9197dd Add scalafmt (plugin) to scala-sttp4 client (#23273)
* add scalafmt (plugin) to scala-sttp4 client

* update
2026-03-17 11:59:00 +08:00
Beppe Catanese
ca02d95c07 PHP NextGen: address PSR-12 formatting violations (#23271)
* Fix PSR-12 formatting in PHP template

* Fix PSR-12 formatting in PHP template
2026-03-17 10:25:49 +08:00
dependabot[bot]
1cf040f78d build(deps): bump flatted (#23267)
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.1.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.1)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.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-03-16 19:50:31 +08:00
William Cheng
a3e79c8cd2 [C#] test petstore client with .net10 (#23266)
* update .net 10 restsharp samples to use petstore spec to test enumNameMappings

* prepare net10 petstore tests for C# restsharp

* add new files

* trigger build failure

* revert
2026-03-16 18:51:52 +08:00
dependabot[bot]
41e861a876 build(deps): bump @angular/compiler (#23241)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 19.2.18 to 19.2.20.
- [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/v19.2.20/packages/compiler)

---
updated-dependencies:
- dependency-name: "@angular/compiler"
  dependency-version: 19.2.20
  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-03-16 10:20:21 +08:00
Noor Dawod
7ddd6933ae Improve consumption of primitive types as body (#23257)
* Adapt textual content body to support primitive types.

* Regenerate source codes.

* Move `content` variable into `when`.

* Accept also `Char` as a possible text body.
2026-03-15 22:45:23 +08:00
Noor Dawod
49e2031e67 Add few suppressions in order to silence the IDE (#23248)
* Add few suppressions in order to silence the IDE.

* Regenerate source codes.
2026-03-15 21:32:46 +08:00
Christopher Molin
0f36a8375c [C++][Markdown][Security] Exclude Badges in Generated README.md (#23163)
* [C++][MarkDown][Security] Stop Including Badges in Generated `README.md`

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

* Update Generated Samples

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>

---------

Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>
2026-03-15 18:12:31 +08:00
William Cheng
735ea1cd8e update orjson to newer version (#23255) 2026-03-15 17:01:45 +08:00
William Cheng
2d896cac58 update undici to newer version (#23254) 2026-03-15 16:58:04 +08:00
dependabot[bot]
b2261a8c06 build(deps-dev): bump tar (#23230)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.11.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-15 14:58:52 +08:00
Beppe Catanese
d46a791821 Postman Generator: Add folder description (#23249)
* Add folder description

* Generate samples

* Refactor test to avoid relying on endpoints order

* Address cubic-dev comments

* Refactor test to avoid relying on endpoints order
2026-03-15 14:58:18 +08:00
Beppe Catanese
25fab41a13 PHP Generator: address PSR-12 formatting violations (#23250)
* Fix PSR-12 formatting in PHP template

* Generate samples
2026-03-15 14:44:09 +08:00
Ionut Baranga
ed0e03169f spring-http-interface: introduce springHttpClientAdapter, fix paramDoc.mustache (#19710)
* spring-http-interface: introduce `springHttpClientAdapter`, fix `paramDoc.mustache`

---
### What
- Introduce `springHttpClientAdapter` for `spring-http-interface`
  - This property is used for selecting HTTP client implementation in Spring HTTP interfaces, with separate templates for each client configuration
- Added an `spring-http-interface`-specific **empty** `paramDoc.mustache`
---

### Why
- Enable selecting different HTTP client implementations when generating Spring HTTP client interfaces
- Provides additional flexibility for users who want to generate non-reactive Spring Boot applications.
---

### How
- `springHttpClientAdapter`: Allows users to choose between different HTTP client implementations used in `HttpInterfacesAbstractConfigurator`:
  - `web-client` (set by default, to ensure **backward compatibility**)
  - `rest-client`
  - `rest-template`
- Separate templates for each `HttpInterfacesAbstractConfigurator` implementation:
  - `httpInterfacesRestClientConfiguration.mustache`
  - `httpInterfacesRestTemplateConfiguration.mustache`
  - `httpInterfacesWebClientConfiguration.mustache`
- Log warning for configuration mismatch
  - When `reactive: false` is used in combination with the reactive `web-client`, it warns users of potential configuration mismatches, and suggests switching to `rest-template` or `rest-client` for non-reactive configurations.
- Remove unnecessary paramDoc
  - Added an `spring-http-interface`-specific **empty** `paramDoc.mustache` in `JavaSpring/libraries/spring-http-interface/paramDoc.mustache`
  - This prevents inheriting the `@Parameter` annotations from the default Spring template located at `JavaSpring/paramDoc.mustache`.
  - Otherwise, the generated code includes `@Parameter` annotations on request body parameters, which were causing compile errors due to missing imports

---

### Testing Done

- **Manual testing**: Verified that the generated code uses `WebClient`, `RestTemplate`, or `RestClient` based on the value of the `springHttpClientAdapter` property.
- **Tested different configurations**:
   - **`reactive: false` & `web-client`**: Logs a warning, suggesting the use of `rest-client` or `rest-template`.
   - **`springHttpClientAdapter: rest-template`**: Generates code with `RestTemplateAdapter` using the `httpInterfacesRestTemplateConfiguration.mustache`.
   - **`springHttpClientAdapter: web-client` (default)**: Generates code using `WebClientAdapter` from `httpInterfacesWebClientConfiguration.mustache` and ensures backward compatibility.
- **Tested `paramDoc.mustache` change**: Verified that the empty `paramDoc.mustache` prevents the generation of `@Parameter` annotations on request body parameters and resolves the compile errors caused by missing imports.

---

### PR checklist

- [ ] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md).
- [ ] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
- [ ] Run the following to [build the project](https://github.com/OpenAPITools/openapi-generator#14---build-projects) and update samples:
  ```
  ./mvnw clean package
  ./bin/generate-samples.sh ./bin/configs/*.yaml
  ./bin/utils/export_docs_generators.sh
  ```
  (For Windows users, please run the script in [Git BASH](https://gitforwindows.org/))
  Commit all changed files.
  This is important, as CI jobs will verify _all_ generator outputs of your HEAD commit as it would merge with master.
  These must match the expectations made by your contribution.
  You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example `./bin/generate-samples.sh bin/configs/java*`.
  IMPORTANT: Do **NOT** purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming `7.x.0` minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
- [ ] If your PR is targeting a particular programming language, @mention the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) members, so they are more likely to review the pull request.

* fix imports

* Update SpringCodegen.java

* fix docs and default value

* fix docs and default value

* revert to HttpServiceProxyFactory.builder for backward compatibility

* spring-http-interface: introduce `useHttpServiceProxyFactoryInterfacesConfiguration` config

* spring-http-interface: introduce `useHttpServiceProxyFactoryInterfacesConfigurator` config

* spring-http-interface: introduce `useHttpServiceProxyFactoryInterfacesConfigurator` config

* spring-http-interface: fix generated files

* remove unnecessary imports from httpServiceProxyFactoryInterfacesConfigurator.mustache and parentOverrides from spring-http-interface-useHttpServiceProxyFactoryInterfacesConfiguration.yaml

* remove unnecessary paramDoc.mustache, update `useHttpServiceProxyFactoryInterfacesConfigurator` parameter docs of `spring-http-interface` library

* [java][spring] Spring HTTP Interface library: Validate Spring Boot version (3 or 4) and fail early if unsupported

* Set `useSpringBoot3: "true"` for all sample configs using `library: spring-http-interface`

* Regenerate samples using `library: spring-http-interface`

* Update "spring-http-interface" docs "Spring 6 HTTP interfaces (testing)" -> "Spring 6 HTTP interfaces (testing). Requires Spring Boot 3 or 4." in java-camel.md and spring.md

---------

Co-authored-by: Bragolgirith <6455473+Bragolgirith@users.noreply.github.com>
2026-03-15 14:43:31 +08:00
dependabot[bot]
da3e824e55 build(deps): bump @angular/core (#23245)
Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) from 19.2.19 to 19.2.20.
- [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/v19.2.20/packages/core)

---
updated-dependencies:
- dependency-name: "@angular/core"
  dependency-version: 19.2.20
  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-03-15 14:26:55 +08:00
dependabot[bot]
359d1c2855 build(deps): bump yauzl (#23246)
Bumps [yauzl](https://github.com/thejoshwolfe/yauzl) from 3.2.0 to 3.2.1.
- [Commits](https://github.com/thejoshwolfe/yauzl/compare/3.2.0...3.2.1)

---
updated-dependencies:
- dependency-name: yauzl
  dependency-version: 3.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>
2026-03-15 14:26:47 +08:00
dependabot[bot]
1d30bec990 build(deps): bump flatted (#23252)
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.1.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.1)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.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-03-15 14:26:38 +08:00
devhl-labs
bb9c14248e [csharp][generichost] Better file support (#22806)
* better file support

* build tests

* use copilot to write manual tests

* use copilot to write manual tests

* use copilot to write manual tests

* address issue one

* address issue two

* address issue three

* address issue four, regenerate tests

* rebuild .net standard tests

* addressed additional bot comments

* address more bot comments

* address more bot comments

* address more bot comments

* added content-type
2026-03-15 14:26:02 +08:00
stefanddamian
0c31459579 [JAVA](bugfix) indentation error for java client generator (#23228)
* fix indentation for java client generator

* add samples to the github workflow

* update sample after rebase

* fix typo

* make gradlew executable
2026-03-13 22:08:48 +08:00
dependabot[bot]
365968b83e build(deps-dev): bump hono (#23229)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-13 17:27:00 +08:00
Thorsten Hirsch
300e585a78 feature/jackson3 native (fixes #22294) (#23071)
* add jackson 3 support to java native

* upgrade to jackson 3.0.4, fix whitespaces

* remove importMapping.put section

* require Java 17 for Jackson 3

* fix cubic-dev-ai issues, fix unit tests

* fix more cubic-dev-ai findings, includes a solution for missing jackson-databind-nullable

* use SerializationContext instead of SerializerProvider

* use JsonMapper instead of ObjectMapper for Jackson 3

* also fix Mapper in JSON.java for Jackson 3

* update samples

* fix mapper.copy()

* add JacksonException handling

* remove IOException where not thrown anymore

* Update jackson_annotations_version in build.gradle.mustache

* update samples after rebase

* fix FakeApi integration test

* add native-jackson3 to samples-java-client-jdk17 workflow

* fix compile errors

* update samples and docs

* update Jackson to v3.1.0, use {{jacksonPackage}}

* update docs and samples

* Update Jackson 3 compatibility note in documentation

Clarify the incompatibility of Jackson 3 with openApiNullable in the documentation.

* update the correct documentation

* Update docs/generators/java-microprofile.md once again

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fail when an unsupported combination of parameters is used

* update docs

* add openApiNullable=false

* fix resttemplate and webclient

* sync docs: incompatible with openApiNullable

* update resttemplate/webclient with ai magic

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-03-13 16:36:05 +08:00
dependabot[bot]
8052c2cbee build(deps-dev): bump hono (#23218)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-13 00:45:06 +08:00
dependabot[bot]
a792c2d3ba build(deps-dev): bump tar (#23219)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.11.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-13 00:44:57 +08:00
dependabot[bot]
d13eecd661 build(deps-dev): bump hono (#23215)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 18:55:58 +08:00
Miklós Márton
739d1edd6b [cpp-qt-client]Fix variable redeclarations in the api-body.mustache (#22982)
* [cpp-qt-client]Fix variable redeclarations in the api-body.mustache

* [cpp-qt-client]Utilize enum for OauthMethod flow

* [cpp-qt-clien]Suffix token variables in OAuth with meaningful state names instead of numeric indexes
2026-03-12 14:29:37 +08:00
dependabot[bot]
c073b146d4 build(deps-dev): bump hono in /samples/client/others/typescript-angular (#23212)
---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 14:22:30 +08:00
William Cheng
54cedcb0c2 [kotlin-client] Support for integer enums for multiplatform with custom serializer (#23211)
* use custom serializer for non string enums for multiplatform library

* add missing imports

* add tests for enum integers

---------

Co-authored-by: rlnt <relentless@rlnt.dev>
2026-03-12 10:17:56 +08:00
William Cheng
4603cc90bf Use Pydantic for json serialization in .to_json method (#23210)
* [Python] Use pydantic_core.to_jsonable_python to convert non-standard data types

* [Python] Add test for UUID serialization

* update python samples

---------

Co-authored-by: Espen Haugsdal <espen.haugsdal@gmail.com>
2026-03-12 09:15:50 +08:00
Benjamin Einaudi
8ef4a480cb fixes(spring) add JsonProperty on setter (#22978)
* extract jacksonAnnotation partial template
* extract xmkAccessorAnnotation partial template
* apply jacksonAnnotation partial template on both getter and setter

Fixes #22757
2026-03-11 17:24:25 +08:00
William Cheng
b3244e93bf Fix child constructor no longer has invalid access to parent field (#23205)
* Fix fix that child constructor was invalid when having readonly field in parent

* add classType field

* fix test

* update samples

---------

Co-authored-by: bdurca <rca@bankdata.dk>
2026-03-11 17:06:18 +08:00
dependabot[bot]
276d69075e build(deps-dev): bump tar (#23204)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.11.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:10:13 +08:00
dependabot[bot]
e3826f0491 build(deps-dev): bump hono (#23202)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:10:03 +08:00
dependabot[bot]
39765e6fca build(deps-dev): bump hono (#23201)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:09:53 +08:00
dependabot[bot]
5b8d04248e build(deps-dev): bump hono (#23200)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:09:21 +08:00
dependabot[bot]
c6a3073162 build(deps-dev): bump hono (#23199)
Bumps [hono](https://github.com/honojs/hono) from 4.12.5 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.5...v4.12.7)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:09:08 +08:00
dependabot[bot]
fe4dc03504 build(deps): bump quinn-proto in /samples/client/others/rust (#23198)
Bumps [quinn-proto](https://github.com/quinn-rs/quinn) from 0.11.13 to 0.11.14.
- [Release notes](https://github.com/quinn-rs/quinn/releases)
- [Commits](https://github.com/quinn-rs/quinn/compare/quinn-proto-0.11.13...quinn-proto-0.11.14)

---
updated-dependencies:
- dependency-name: quinn-proto
  dependency-version: 0.11.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-11 16:08:31 +08:00
Ary Obenholzner
eaa79e29a3 [typescript-nestjs-server] #22928 improve request parameter handling (#22960)
* [typescript-nestjs-server] #22928 exclude inline union strings from generating imports

* [typescript-nestjs-server] #22928 add optional type hints

* [typescript-nestjs-server] #22928 add/improve support for various parameter types

* [typescript-nestjs-server] #22928 add docs, fix indentations and test execution

* [typescript-nestjs-server] #22928 correctly parse numeric parameters, use DefaultValuePipe for default values

* [typescript-nestjs-server] #22928 lowercase header access, check each import for unions

* [typescript-nestjs-server] #22928 allow optional parameters for number parse pipes

* [typescript-nestjs-server] #22928 updated README, additional PR feedback

* [typescript-nestjs-server] #22928 updated README
2026-03-11 09:04:53 +01:00
William Cheng
274510c6b5 [Ruby] Minor code improvement (#23196)
* minor refactoring in ruby client codegen

* add tests for minus 1 enum value
2026-03-11 03:24:38 +08:00
William Cheng
1a09c7abd3 Add option to fallback to non-pointer number, boolean types (#23197)
* add option to fallback to non-pointe number, boolean

* add new files

* fix
2026-03-11 02:35:25 +08:00
hirish
d8afb229fa fix c-libcurl generator for int and boolean values by moving to int* (#23052)
* [c] move model from int to int*

* [c] regenerate petstore and fix manual unit-tests

* [c]-useJsonUnformatted regenerate petstore samples

* [c] fix memory leaks

* [c] fix memory leaks: second round

* [c] fix memory leaks: third round
2026-03-11 01:27:51 +08:00
Noor Dawod
a2fd144758 Bring Kotlin client code up-to-speed with changes (#23188)
* Convert static constants to CAPITALS.

* Bring `responseBody` up-to-speed with regards to response nullability.

* Keep previous constants so not to break existing code.

* Generate samples code.

* Apply suggestion from @cubic-dev-ai[bot]

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Regenerate sample code.

* Reorder statics, fix values of `ACCEPT` and `AUTHORIZATION` constants.

* Regenerate sample code.

* Add deprecation constant.

* Regenerate sample code.

* Remove unnecessary annotation.

* Regenerate samples code.

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-03-10 12:40:11 +00:00
Yonatan Karp-Rudin
a04b9a5960 feat(kotlin-spring): add Spring Boot 4 and Jackson 3 support (#23154)
* feat(kotlin): add Jackson 3 infrastructure to AbstractKotlinCodegen

* feat(kotlin-spring): add useSpringBoot4 and useJackson3 flags

* feat(kotlin-spring): update template selection for Spring Boot 4

* feat(kotlin-spring): add SB4 templates for all libraries

* test(kotlin-spring): add tests for Spring Boot 4 and Jackson 3 support

* feat(kotlin-spring): add kotlin-springboot-4 sample with Jackson 3

* docs(kotlin-spring): document useSpringBoot4 and useJackson3 options

* fix(kotlin-spring): update Gradle templates to Kotlin 2.2 JvmTarget DSL and bump CI Gradle

- Replace deprecated kotlinOptions.jvmTarget with kotlin.compilerOptions DSL
- Upgrade Gradle wrapper to 8.14 for Kotlin 2.2 compatibility
- Add kotlin-springboot-4 sample to JDK17 CI matrix
- Regenerate sample with updated templates

* fix(kotlin-spring): register useJackson3 CLI option and use Gradle 8.14 for SB4

- Add addSwitch for useJackson3 in KotlinSpringServerCodegen so it
  appears in auto-generated docs
- Update gradle-wrapper.properties.mustache templates to use Gradle 8.14
  when useSpringBoot4 is enabled (required minimum for Spring Boot 4)

* fix(kotlin-client): fix Jackson 3 package imports and add ktor/spring-restclient support

Replace hardcoded com.fasterxml.jackson imports with {{jacksonPackage}} template
variable across all kotlin-client templates so generated code compiles correctly
when useJackson3=true. Also fix trailing space in OAuth Bearer header, enable
useJackson3 for jvm-ktor (Ktor 3.4.0) and jvm-spring-restclient (Spring Boot 4),
and add conditional Jackson 3 dependencies in build.gradle.

* Revert "fix(kotlin-client): fix Jackson 3 package imports and add ktor/spring-restclient support"

Block useJackson3 for kotlin-client with a clear error until client
template support is added in a follow-up PR.

* ci: retrigger CI checks

* fix(kotlin-spring): replace legacy oauth2 starter and add Jackson exclusivity tests

Replace deprecated spring-cloud-starter-oauth2:2.2.5.RELEASE with
spring-boot-starter-oauth2-client in SB4 templates, as the legacy
starter is pre-Jakarta and incompatible with Spring Boot 4.

Add negative assertions to Jackson dependency tests to ensure Jackson 2
and Jackson 3 artifacts are mutually exclusive.

* feat(kotlin-spring): default to Jackson 3 when Spring Boot 4 is enabled

Spring Boot 4 ships with Jackson 3 out of the box, so useJackson3 now
defaults to true when useSpringBoot4 is enabled and the user hasn't
explicitly set useJackson3.

* fix(kotlin-spring): declare springdoc version property regardless of useSwaggerUI

The springdoc-openapi.version Maven property was only declared when
useSwaggerUI=true, but the springdoc core dependency (used when
useSwaggerUI=false) also references it, causing an undefined property.

* fix(kotlin-spring): use modern OAuth2 client config for Spring Boot 4 spring-cloud library

Add useSpringBoot4 conditionals to clientConfiguration.mustache so SB4
uses OAuth2AuthorizedClientManager instead of legacy OAuth2FeignRequestInterceptor
and *ResourceDetails classes that don't exist in Spring Boot 4.

* fix(kotlin-spring): default Jackson 3 when Spring Boot 4 set via setter or additionalProperties

The Jackson 3 defaulting logic only checked additionalProperties map,
so calling setUseSpringBoot4(true) via the Java API skipped the default.
Now checks both the field value and the map.

* fix(kotlin-spring): add trailing newline to clientConfiguration template

* Trigger CI

* clean up conditions

* fix(kotlin-spring): remove SB4+Jackson2 test since SB4 unconditionally implies Jackson 3

Spring Boot 4 ships with Jackson 3 — there is no supported SB4+Jackson2
combination, so the test was asserting an invalid scenario.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 16:56:54 +08:00
Miklós Márton
1462933d01 [cpp-qt-client] Optimize generated code (#23089)
* [cpp-qt-client]Optimize generated code
- Use const references at function parameters
- Do not perform useless initialization of QStrings
- Use qDeleteAll

* - Do not change signal arguments to const in public API as it breaks API
- Fix whitespace typo

* Regenerate tests
2026-03-10 16:51:28 +08:00
devhl-labs
a7eedd9df5 fix invalid implicit casts (#23192) 2026-03-10 11:04:51 +08:00
William Cheng
067c9b2897 update jackson to 2.21.1 (#23187) 2026-03-09 18:18:53 +08:00
dependabot[bot]
0a5f5a87e3 build(deps-dev): bump immutable (#23183)
Bumps [immutable](https://github.com/immutable-js/immutable-js) from 5.1.4 to 5.1.5.
- [Release notes](https://github.com/immutable-js/immutable-js/releases)
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/immutable-js/immutable-js/compare/v5.1.4...v5.1.5)

---
updated-dependencies:
- dependency-name: immutable
  dependency-version: 5.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 15:45:20 +08:00
dependabot[bot]
325dd614d6 build(deps-dev): bump @hono/node-server (#23184)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.9 to 1.19.11.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.9...v1.19.11)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 15:45:00 +08:00