Jason Ak
eb65e93e1d
Fix Swift oneOf discriminator decoding with enumUnknownDefaultCase ( #22635 )
2026-01-12 19:32:48 +00:00
Serge
08367def47
feat(typescript-angular): add angular 21 support ( #22636 )
2026-01-13 01:10:57 +08:00
William Cheng
450215c4b8
[BUG][JAVA][SPRING] api util must test variable nullity ( #22679 )
...
* fix: test if return type is null before using it
* chore: change sample example
---------
Co-authored-by: Philippe Kernevez <philippe@kernevez.net >
2026-01-12 16:41:08 +08:00
Devon
99baae676b
[cpp] Fix Nested Map & Additional Properties Support ( #22639 )
...
* progress fixing nested map support in cpp generators
* [cpp] Fix Nested Map Support
* additional properties support
* fix potential np3
* cleanup javadoc
* inline
* explicit memory header
2026-01-12 15:54:21 +08:00
Julian Vennen
2b1f61874e
[php][php-nextgen] Mark nullable things as nullable in phpdoc ( #22650 )
...
* [php][php-nextgen] Mark nullable things as nullable in phpdoc
* [php][php-nextgen] Use exts instead of vendorExtensions
2026-01-12 13:47:11 +08:00
Alec Petersen
17f2e4634c
[REQ][CSHARP] Make TokenProvider abstract method GetAsync protected for override ( #22615 )
...
* Make GetAsync protected internal so external inheritors can override it
* Remove non-zero token length requirement to allow more flexibility for token providers
* Update samples
2026-01-12 13:46:03 +08:00
Mattias Sehlstedt
b3c4c49430
[Fix] [Regression] Resolve the discriminator type from a 3.1 sibling ( #22634 )
...
* Add support for resolving the discriminator type from a 3.1 sibling
* Set gradlew to be executable
* Generate sample FILES again
2026-01-12 13:44:55 +08:00
Devon
dff00c86d6
Fix nested map support ( #22643 )
...
Also includes a fix for enums :)
2026-01-12 13:42:16 +08:00
Eren
0da98b06f8
[kotlin-client] Fix enum @JsonCreator to throw for unknown values ( #22663 )
2026-01-12 13:34:50 +08:00
William Cheng
b2254b9b94
Normalize headers in components ( #22672 )
...
* normalize headers in components
* update comment
2026-01-12 12:26:17 +08:00
William Cheng
f1322a0c5a
Better null check in normalizeSchema ( #22671 )
...
* uncomment exit
* better null check when normalizing schema
2026-01-11 22:01:44 +08:00
William Cheng
23dae2bcd8
Improve sample update with better exception handling ( #22670 )
...
* refactor java tests
* better exception handling when updating samples
* update samples to avoid using exception
* fix tests
* update
* update
2026-01-11 18:52:29 +08:00
William Cheng
944533826b
update python fastapi urllib3 to newer version ( #22644 )
2026-01-09 12:49:38 +08:00
Neeme Praks
753330dd99
[kotlin-spring] Revert nested property placeholder in @RequestMapping that Spring cannot resolve ( #22625 )
2026-01-06 22:19:42 +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
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
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
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
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
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