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
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
Devon
9116411dac
[cpp-rest] Fixes segfault for nullable strings ( #22405 )
2025-11-25 13:37:05 +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
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
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
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
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
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
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
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
c596bb7d8a
add check for optionl to show null in doc (php) ( #22307 )
2025-11-08 23:12:27 +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
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
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