William Cheng
657f5fb004
Test go client with aws signature in github workflow ( #21657 )
...
* test go client with aws signature in github workflow
* fix path
* fix path
* test with windows
* omit version
2025-07-30 14:38:58 +08:00
dennismouwen-eye
fbb15fd324
Update AWS Go SDK from v1 to v2 in Go client templates ( #3 ) ( #21653 )
...
* Update AWS Go SDK from v1 to v2 in Go client templates (#3 )
* Initial plan
* Update AWS Go SDK from v1 to v2 in Go client templates
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Final validation: AWS SDK v2 integration working correctly
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Fix AWS v4 signature implementation: retrieve credentials properly from provider
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Fix AWS v4 signature payload hash: properly compute SHA-256 hash for request body
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Implement proper payload hashing
* Revert go.sum file to original state as requested
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Revert go.mod and rename import alias from v4 back to awsv4
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Revert go.mod file to original state removing all changes
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Rename credentials import to awscredentials alias as requested
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
* Fix spacing
* Fix credentials and imports
* Update aws sdk to latest version
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com >
Co-authored-by: Dennis Mouwen <dennis.mouwen@eye.security >
* Update indenting
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-07-30 13:55:40 +08:00
Christopher Gual
7c1dce4756
[Bug][typescript-fetch] Fix missing close parenthesis in oneOf models. ( #21645 )
...
* Modify unit tests for typescript-fetch, issue 21259 to check for closing parens & fix a typo in TypeScriptFetchModelTest
* Fix bug in closing parens in modelOneOf.mustache and some spacing adjustments
* Update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com >
2025-07-29 13:28:26 +02:00
Matt Pollock
815a7324e3
[R] add null checks to nullable api parameters ( #21629 )
...
* [R] check optional parametrs for null before evaluating param conditions
* update petstore
* handle isNullable when checking api parameters
* update samples
* allow not-nullable parameters to be missing
* update samples
* samples
2025-07-29 13:34:18 +08:00
William Cheng
1a178ae804
add @dsteeley to Rust technical committee ( #21651 )
2025-07-29 11:42:46 +08:00
William Cheng
2f70572219
update samples
2025-07-28 20:24:46 +08:00
P.H. Knot
86052aa989
fix: Use correct constructor for ApiException in PSR-18 PHP library ( #21631 )
...
* fix: Use correct constructor for ApiException
* chore: Generate samples
* fix: Missing $
* fix: Remove extraneous line
2025-07-28 20:19:59 +08:00
Mattias Sehlstedt
7c4ada33c4
[Java] [SpringClient] Introduce setting for sealed oneOf interfaces for Spring clients ( #21586 )
...
* Add setting for generating the oneOf interfaces as sealed interfaces
* Generate samples
* Add internal java17 additionalProperty setting
* Move samples to highlight that they do not use the petstore
* Align documentation
* Update samples
* Align documentation
* Update mustache files and samples to change gradle settings to java17
2025-07-28 20:03:54 +08:00
William Cheng
3453c7ba10
Test PHP clients in Github workflow ( #21643 )
...
* test php clients in github workflow
* trigger build failure
* update workflow
* Revert "trigger build failure"
This reverts commit 572a69f6bc .
* update tests
* update tests
* update test
* fix tests
* fix async test
* update tests
2025-07-28 18:33:52 +08:00
Christopher Gual
a60d3d4f81
[Bug][java-spring] Use Flux only for multipart-form-data file parameters with multiple file uploads ( #21561 )
...
* Use Flux only for multipart-form-data file parameters with multiple files
* Update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com >
2025-07-28 18:28:53 +08:00
Simon
d69714f197
[php] Fix file uploads by backporting #21458 ( #21632 )
...
* [php] Backport #21458 to php client
Fixes #21485
Credits to @jozefbriss
* [php] Fix deprecation warning when running integration tests
OpenAPI\Client\FakeHttpClient::setResponse(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead
---------
Co-authored-by: simonhammes <simonhammes@users.noreply.github.com >
2025-07-28 16:58:03 +08:00
hirish
7d3913f1dd
Add verbose, keepalive, keepidle, keepintvl to c-libcurl ( #21613 )
...
* Add keepalive to c-libcurl
* Fix manual tests on client/petstore/c
* Update Readme of c/libcurl
* better curlConfig handling on c-libcurl
2025-07-28 16:43:34 +08:00
Iurii Ignatko
f5da0ea4a1
Remove [this-escape] warnings in generated ApiClient classes ( #21620 )
2025-07-28 16:43:14 +08:00
Tobias Guttenberger
1c2ef3356d
Bugfix for remote specs with params ( #21634 )
...
* [Bugfix][Maven-Plugin] Bugfix for remote input specs with parameters
If the inputSpec was a web address that contained parameters, code generation would fail, because the filepath would contain illegal characters, since the code inside the if-block would be skipped. A side effect of this was, that in the log and in the filename in linux the parameters would be leaked, which could potentially sensitive information like Gitlab Access Tokens
* [Test][Gradle Plugin] Update GenerateTaskDslTest.kt
Extended the Test for testing remote inputSpecs with urlParams, a case that caused problems in the maven plugin.
2025-07-28 16:40:20 +08:00
Mattias Sehlstedt
edbacaa3c7
Add suggestion to PR template to encourage contributors to use a GitHub link their PR to issue ( #21624 )
2025-07-28 16:02:05 +08:00
klahap
f3944b152d
Add treatWarningsAsErrors option to ValidateTask in gradle plugin ( #21626 )
2025-07-28 16:01:31 +08:00
Stefan Wurzinger
0e97e19bbc
kotlin-spring: fix exception thrown in enum.forValue ( #21622 )
...
* kotlin-spring: fix exception thrown in enum.forValue
* update samples
2025-07-28 16:01:03 +08:00
Christopher Gual
ee5a12a29d
[test][typescript-fetch] Add / improve unit tests for current typescript-fetch oneOf logic #21057 #21464 ( #21638 )
...
* Add unit tests for current oneOf logic #21057 #21464
* Remove comment from issue_21259.yaml
---------
Co-authored-by: Chris Gual <cgual@omnidian.com >
2025-07-28 09:28:07 +02:00
devhl-labs
64e9b372c0
[csharp] Handle nested maps recursively ( #21636 )
...
* handle nested maps recurssively
* improve git diff readability
2025-07-28 11:28:27 +08:00
devhl-labs
dfc66e34aa
[csharp][generichost] Verify net9 samples up to date ( #21637 )
...
* verify net9 samples up to date
* verify net9 samples up to date
* remove erroneous files
* use different logic to delete directories
2025-07-28 10:56:24 +08:00
Ilya Nemtsev
ef22749345
[Java][native] Add ability to add header to specific calls ( #21495 )
...
* add bearer capability
* avoid using shared state
* revert needless change
* Revert authentication changes from unused root Java/api.mustache template
* applied change to correct lib type
* updated test files
* made security method more generic for flexibility
* regenerated samples
* further cleanup
* code style
* regenerated samples
* made header assignment more explicit, per each method
* fixed extra comma
* fixed commas, regenerated samples
* moved header population to utility method
* moved static class inside main class
* regenerated samples
* added comments, fixed indentation
* regenerated samples
---------
Co-authored-by: Ilya Nemtsev <ilyanemtsev@192.168 .1.34>
2025-07-27 11:18:39 +08:00
DavidGrath
f1a093537d
[typescript-fetch] oneOf models now consider primitives when converting. Issue #21259 ( #21464 )
...
* [typescript-fetch] number, string, and Date now considered in oneOf models. Issue #21259
* Generated samples
2025-07-24 08:05:06 +02:00
Linh Tran Tuan
777b7eeea0
[Rust-Axum] Basic Authorization - Basic Analytic - XSS Sanitize ( #21578 )
...
* Update
* Update
* Update
* Update
* Update
* Update
2025-07-22 17:43:46 +08:00
William Cheng
0b0d534d0d
use cpp oatapp test spec ( #21601 )
2025-07-21 18:23:47 +08:00
Christopher Gual
bfb69388aa
[Bug][kotlin-spring] add a Spring type converter for enum values #21564 ( #21579 )
...
* [kotlin-spring] add a Spring type converter for enum values #21564
* [kotlin-spring] simplify unit test for inner enum converter
* update samples
* code review feedback; move containsEnums to ModelUtils
* code review feedback; provide comment for generated EnumConverterConfiguration.kt
* update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com >
2025-07-21 18:22:32 +08:00
Christopher Gual
31089c0e49
[Java-Spring] add comment to EnumConverterConfiguration mustache file ( #21598 )
...
* [java-spring] provide a clarifying comment for the generated EnumConverterConfiguration class
* update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com >
2025-07-21 18:21:44 +08:00
Kraust
20ed1ee3cc
Fixes to cpp-oatpp-server generator. ( #21595 )
2025-07-21 18:08:44 +08:00
Mikko Maunu
90001d4fac
Conditional import of AtomicInteger added to delegate template. fix #21566 ( #21597 )
2025-07-21 17:27:33 +08:00
William Cheng
b7fb3b2107
update go version, oauth2 dep ( #21594 )
2025-07-19 22:10:53 +08:00
James Shaw
7ca3fc3115
Fix response model generation with ParseOptions.resolveResponses=true ( #21568 )
...
* set resolveResponses=true
needed by swagger-parser>=2.1.23, see https://github.com/swagger-api/swagger-parser/pull/2127
* update samples
---------
Co-authored-by: James Shaw <james.shaw@masabi.com >
2025-07-19 21:37:11 +08:00
Ilia
f632ab7977
[dart-dio] Fix compile error in enum properties with "default" values ( #20495 ) ( #21355 )
...
* [dart-dio] Fix compile error in enum properties with "default" values(#20495 )
* Add a test schema with enum properties
2025-07-17 13:11:39 +08:00
William Cheng
0f305a5958
update reactor netty to newer version ( #21574 )
2025-07-17 13:09:03 +08:00
Rym Bouabid
4372659a0b
Add 'isFormStyle', 'isSpaceDelimited', and 'isPipeDelimited' flags to CodegenParameter ( #21240 )
2025-07-17 01:53:21 +08:00
Mikko Maunu
d82ca75cc3
Type check of array element only when array is not empty. fix #21276 ( #21571 )
2025-07-17 01:30:31 +08:00
Mikko Maunu
faf6924f63
Regular comment instead of document comment before package declaration. fix #21496 ( #21572 )
2025-07-17 01:29:18 +08:00
andreas-umbricht
ad53684e11
Fixed primitive type check for array of array ( #21500 )
2025-07-16 16:20:31 +08:00
JacobOJ
63c56f00b7
[java][Microprofile] add config options to disable usage of ApiExceptionMapper ( #20762 )
...
* [java][Microprofile] add config options to disable usage of ApiExceptionMapper
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaClientCodegen.java
Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com >
---------
Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com >
2025-07-16 16:14:23 +08:00
Pascal Bachor
c4a7c14c8f
python: Reinstate lazy imports ( #21486 )
...
* python: reinstate lazy imports
* python: Update samples
---------
Co-authored-by: Pascal Bachor <bachorp@users.noreply.github.com >
2025-07-16 15:53:38 +08:00
William Cheng
ee77b7f4f0
update copyright, minor code formatting change ( #21569 )
2025-07-16 15:48:39 +08:00
Diego Casella
7f2ee8520e
Generators "scala-sttp" and "scala-sttp4" produce valid code when using APIKeyQuery, APIKeyHeader and APIKeyCookie #13474 ( #21551 )
...
* fix: using APIKeyQuery and APIKeyHeader generates invalid code (#13474 )
* fix: include test
* fix: also fix auth generation for sttp4
* fix: maintain prev whitespaces & update generated APIs
2025-07-16 15:41:01 +08:00
Kraust
8862b960f8
Add cpp-oatpp-server generator (alpha) ( #21547 )
...
* Oat++ Server Generator (C++)
* Fixed for support for newest OpenAPI version.
* ALPHA not STABLE.
* Fixed for support for newest OpenAPI version.
* Added github workflow & changed to OA3 Petstore.
* Good catch on adding the Workflow.
* Might help to update the samples.
* Set C++ Standard the CMake way.
* Would be easier if there was a .pc file.
* oatpp.lib.
* Add ws2.
* This probably doesn't work, need to take a time out.
2025-07-16 15:32:28 +08:00
jase
64ab13a790
feat(typescript-angular): add Angular 20 support ( #21563 )
...
* feat(typescript-angular): add Angular 20 support
* chore: remove unused .openapi-generator-ignore file
2025-07-15 11:44:12 +02:00
Jonas Reichert
f9098d5a89
[swift] [urlsession] Fixes crash for uploads with content-type "image/" ( #21544 )
...
* Fix image upload for content-type image
* update samples
* add test case in spec and update samples
* update bitrise stack so we get xcpretty 0.4.1
* Revert "add test case in spec and update samples"
This reverts commit 92202dd850 .
2025-07-15 16:25:34 +08:00
daniel
ca8c6d2f5d
Add Null-check and return if null ( #21556 )
2025-07-15 16:06:00 +08:00
David Gamero
0995e5935c
[typescript] COPY: Add optional erasable syntax configuration to Typescript generator. ( #21560 )
...
* Add optional erasable syntax configuration.
* Changes from generation clean-up.
---------
Co-authored-by: Brendan Burns <5751682+brendandburns@users.noreply.github.com >
2025-07-15 09:25:09 +02:00
Nico Kraetschmer
473343ff94
[Typescript Fetch] Fix missing closing bracket ( #21549 )
2025-07-14 15:41:50 +02:00
William Cheng
d63459c051
update common langs dep to newer version ( #21552 )
2025-07-14 17:11:11 +08:00
donilg
7a6be5a3e6
[scala][http4s] fix codegen for using reserved words in openapi ( #21518 )
2025-07-12 22:18:55 +08:00
Adrian Hjertstedt
65cb95bef0
Revert "[typescript-fetch] to fix incorrect parsing with additional properties ( #20923 )" ( #21542 )
...
This reverts commit 0becb3feb7 .
Co-authored-by: Adrian Hjertstedt <ahjertstedt@ldms.com >
2025-07-10 18:41:29 +02:00
Florian Brombauer
78691cb11c
Followup fix for importFileExtension config for typescript-axios ( #21541 )
2025-07-10 17:16:23 +02:00