Antoine Reilles
37cac71f87
[java-cxf-cdi] @Api description is deprecated ( #22083 )
...
@Api(description=...) is deprecated.
Remove its usage: it is not used by swagger-ui, and generated warnings
at build
2025-10-07 02:10:20 +08:00
William Cheng
885ea07b17
Prepare 7.17.0 ( #22040 )
...
* Revert "v7.16.0 release"
This reverts commit 31299af0fcaafe6c3ab848320e230a00ce8ea9e5.
* prepare 7.17.0-SNAPSHOT
* update doc, samples
2025-09-28 17:25:13 +08:00
Yonatan Karp-Rudin
44a3be170f
fix(kotlin-spring): add missing constructor parentheses for hashmap models ( #22029 )
...
* fix(kotlin-spring): add missing constructor parentheses for hashmap models
This commit fixes a bug in the kotlin-spring generator where models
defined with additionalProperties would result in uncompilable code.
The generated data class was missing the constructor invocation '()'
when inheriting from a map type.
This has been corrected to only add parentheses when the parent is a map.
The existing samples have been regenerated to reflect this change.
* Trigger CI
2025-09-27 22:06:05 +08:00
Linh Tran Tuan
e38f6c0580
[Rust-Axum] Support AnyOf, AllOf ( #21948 )
...
* Support AnyOf, AllOf
* Update
* Fix
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
2025-09-27 16:01:37 +08:00
William Cheng
c1931c10da
Add tests with optional body for go-server ( #22034 )
...
* add tests with optional body for go-server
* update workfllow
2025-09-27 14:28:28 +08:00
fwermelskirchen
f02acaf27e
[cxf] add support for Swagger2 ( #22010 )
...
* [cxf] add support for Swagger2
Closes #3668
* regen samples
* regen docs
* unconditionally include parameter imports
* Add swagger2 update samples
---------
Co-authored-by: Jens Kleine-Herzbruch <jensgr@gmx.net>
2025-09-24 15:18:37 +08:00
Tilman Holube
75804e4e31
Bump Jackson to 2.19.2 and databind-nullable to 0.2.7 ( #22017 )
2025-09-24 13:49:19 +08:00
William Cheng
24d7c3e904
Refactor Scala client, server Github workflow for testing ( #22005 )
...
* refactor scala client server workflow for testing
* fix
* migrate circleci scala tests
* add service, update host table
* java 8
* add distribution
* java 17
* 2.13.x
* update
* clean up circleci config
2025-09-21 16:27:03 +08:00
William Cheng
a55525c634
update php samples
2025-09-19 14:28:41 +08:00
William Cheng
ab6c827098
Mark scala-lagom-server as deprecated ( #21977 )
...
* mark scala-lagom-server as deprecated
* update workflow
2025-09-16 13:59:00 +08:00
Jachym Metlicka
6278512122
[kotlin-spring][server] Feat: Allow implementation of arbitrary interface in DTOs (similar to x-implements from java-spring) ( #21950 )
...
* add basic implementation and tests
* improve test a bit
* modify kotlin-spring.md
* add x-kotlin-implements also to enum
* update samples & properly define implemented vendor extension
* use enum.getName() instead of hardcoded string as key in vendor extension map
* fix docs
* fix test openapi spec and test
* add samples for x-kotlin-implements
* add samples for x-kotlin-implements to proper output folder
* fix
* revert unwanted changes
* move to correct place
* fix mustache template
* add to samples-kotlin-server.yaml
* reuse 1 open api schema for everything. Add also case where interface extends interface.
* add warn logs when x-kotlin-implements-fields is used without x-kotlin-implements to improve usability
* remove unnecessary generated files
* remove unnecessary generated files
* remove "status" inner enum from Pet as it fails to properly import as Pet.Status in implementations. This is a separate bug - not caused by x-kotlin-implements
2025-09-16 02:13:08 +08:00
William Cheng
b7749712b8
feat: Add Java Dubbo code generator for Apache Dubbo microservices ( #21968 )
...
* feat: add Apache Dubbo code generator with multi-registry support
- Add comprehensive Dubbo microservice code generator
- Support Zookeeper and Nacos registries with auto-dependency selection
- Implement version-aware dependency management (Dubbo 3.2 vs 3.3+)
- Generate service interfaces, implementations, and Spring Boot REST controllers
- Include complete Spring Boot application structure with configuration
- Add detailed documentation and usage examples
- Support async operations and generic response wrappers
- Provide flexible configuration options for packages, versions, and features
* feat: Add dubbo sample with CI validation
Adds a new sample generator configuration for dubbo.
The existing GitHub workflow for Java samples is updated to build and test this new sample automatically.
* fix: fix Dubbo protocol extension issue in test environment
- Set registry address to N/A to avoid ZooKeeper dependency
- Change protocol from 'triple' to 'tri' to resolve extension loading error
* various fix to java dubbo server generator
* update doc
* update readme
---------
Co-authored-by: redoom <gyklcy@iCloud.com>
2025-09-16 01:51:12 +08:00
Christophe Moine
ee4cb9ac22
[jaxrs-spec][quarkus] Feat: Add an option to use "org.jboss.resteasy.reactive.RestResponse" ( #21877 )
...
* replace Response by RestResponse
* fix rest response for Async
* update documentation
* Add option "returnJBossResponse"
* Add tests + fixes
* Polish
* Add dependency "io.quarkus.resteasy.reactive:resteasy-reactive" when returnJBossResponse=true
* fix JavaJAXRSSpecServerCodegenTest
* generate samples & docs
2025-09-14 17:11:06 +08:00
GregDThomas
ec28d6261c
Fix #21921 by marking required path parameters as @NotNull ( #21951 )
2025-09-13 17:48:47 +08:00
William Cheng
177b94b1b4
Add tests for numeric form data (kotlin - jvm-ktor) ( #21952 )
...
* add tests for numeric form data (kotlin)
* remove null check as its done already
2025-09-12 15:28:57 +08:00
William Cheng
6164836b57
update workflow to use jdk 11 ( #21912 )
2025-09-06 22:35:54 +08:00
Kevin Liddle
86f107047e
[BUG][rust-axum] Fix duplicate route operations when supplying multiple tags on a path with a camelCase param ( #21873 )
...
* [BUG][rust-axum] Fix duplicate route operations when supplying multiple tags on a path with a camelCase param
* Update rust-axum sample
2025-09-04 01:36:26 +08:00
dsteeley
5daef3e901
fix: Resolve issue21805 rust-server compilation failure with large maximums by handling minimum and maximum using BigInt instead of longValue. ( #21875 )
2025-09-03 16:45:02 +08:00
William Cheng
6e443f1354
fix: honor required fields in jackson @JsonProperty annotations ( #21876 )
...
* fix: honor required fields in jackson @JsonProperty annotations
* add samples
* fix: trigger build
* fix: undo
* update to handle nullable as well
---------
Co-authored-by: Erik Lagerholm <erik.lagerholm@volvocars.com>
2025-09-03 16:41:59 +08:00
Jochen Schalanda
babb3e272b
[Java] Add missing Locale to String.format() invocations ( #21871 )
...
* [Java] Add missing Locale to String.format() invocations
* chore: ./bin/generate-samples.sh ./bin/configs/*.yaml
2025-09-03 14:52:49 +08:00
William Cheng
90d6af2bab
Refactor Rust github workflow for clients and servers ( #21851 )
...
* add workflow to test rust clients
* update to use localhost
* rename rust server workflow
2025-09-01 11:43:25 +08:00
CatBraaain
d8593ef6d7
style: add a space before comment text in .gitignore ( #21844 )
2025-08-31 22:35:54 +08:00
Paul Parenko
daa8eb422d
import Nullable if required ( #21829 )
...
Also allows to override it eg with: <importMapping>Nullable=org.jspecify.annotations.Nullable</importMapping>
2025-08-28 15:48:12 +08:00
William Cheng
ac5478e909
update php symfony samples
2025-08-28 14:06:54 +08:00
William Cheng
e903a89ccf
Add PHP server syntax check worfklow ( #21830 )
...
* add php server syntax check worfklow
* update
* fix
* trigger build failure
* Revert "trigger build failure"
This reverts commit cd8fa3000dfb98afd57a3f25081a30ebc52fe496.
* add more folders
* comment
2025-08-28 14:04:41 +08:00
William Cheng
ffaeca3204
update
2025-08-28 13:35:52 +08:00
Linh Tran Tuan
7c4d7277b4
Separate Basic Authorization into new template file ( #21828 )
2025-08-28 13:00:06 +08:00
Daniel Genchev
8ce639ddae
[kotlin-client][kotlin-spring] Fix duplicate discriminator serialization with Jackson used as serialization library ( #21734 )
...
* [kotlin-client][kotlin-spring] Fix duplicate discriminator serialization with Jackson used as serialization library
* Update samples
2025-08-27 17:37:38 +08:00
Oliver Kuntze
cd7fe341d3
Fix validation constraints for parameters in request body of form request are not generated (at least with Spring Boot generator) ( #21749 )
...
* fix(Spring Boot): adds validation to body params of forms requests
* fix(Spring Boot): adds test for validation of body params of forms requests
* fix(Spring Boot): adds samples
2025-08-23 15:58:46 +08:00
William Cheng
20be2decde
Prepare v7.16.0 release ( #21794 )
...
* Revert "v7.15.0 release (#21792 )"
This reverts commit 2c816f89cbd6c4670aaf6e3387c88daadae6cbad.
* prepare 7.15.0 release
* update samples
2025-08-22 19:17:23 +08:00
William Cheng
2bbb19a1d5
Update gradle jar to newer version (java micronut) ( #21762 )
...
* update gradle wrapper to newer version (java micronaut)
* update gradle setup to v4
2025-08-16 11:45:15 +08:00
Mattias Sehlstedt
8874df4702
Codegen parameter for query json serialization ( #21718 )
...
* Add endpoints with query parameters that require Json-serialization
* Add property for query json-serialization
* Update samples
* Adjust indentation for specification
2025-08-10 22:47:51 +08:00
Andrzej Ressel
0f231d9494
Fix rust-axum homepage toml quotes ( #21716 )
2025-08-08 13:29:54 +08:00
Andrzej Ressel
a7af767e34
[Rust] Replace more HeaderValue::from_str with compile time HeaderValue::from_static ( #21689 )
2025-08-05 11:21:21 +08:00
William Cheng
87231c3b58
[php][php-nextgen] add new github workflow to perform syntax check on php files ( #21678 )
...
* update php laravel samples
* add php-nextgen to the github workflow
* trigger build failure
* add syntax checker workflow
* Revert "trigger build failure"
This reverts commit 5be28f2e768cb22d9edca83ec897cbaa9cf296e9.
2025-08-01 17:48:04 +08:00
dsteeley
97aa4a8587
Fixup dependency on forked serde_xml ( #21664 )
2025-08-01 16:06:30 +08:00
dependabot[bot]
5ba0650659
Bump multer and @nestjs/platform-express ( #21673 )
...
Bumps [multer](https://github.com/expressjs/multer ) to 2.0.2 and updates ancestor dependency [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express ). These dependencies need to be updated together.
Updates `multer` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/expressjs/multer/releases )
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/expressjs/multer/compare/v2.0.1...v2.0.2 )
Updates `@nestjs/platform-express` from 11.1.3 to 11.1.5
- [Release notes](https://github.com/nestjs/nest/releases )
- [Commits](https://github.com/nestjs/nest/commits/v11.1.5/packages/platform-express )
---
updated-dependencies:
- dependency-name: multer
dependency-version: 2.0.2
dependency-type: indirect
- dependency-name: "@nestjs/platform-express"
dependency-version: 11.1.5
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-08-01 16:05:23 +08:00
Ary Obenholzner
fcc83db0f8
NestJS server codegen ( #21494 )
...
* setup basic codegen for nestjs server
* set up generated file structure
* adapted moustache files
* fixed imports
* adapted templates
* added module bootstrap
* added model generation
* fixed error with generic type
* added README
* added usage clarification to README, introduced module index.ts
* Update modules/openapi-generator/src/main/resources/typescript-nestjs-server/api.module.mustache
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
* cleaned up package.mustache, added parameters for versions
* cleaned up unneeded boilerplate templates
* fixed indentations from templates
* implemented useSingleRequestParameter
* fixed parameter handling
* added samples with tests
* added docs
* fixed samples
* corrected docs
* updated docs after merge of master
* fixed samples build
* fixed workflow
---------
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
2025-07-31 14:37:44 +02: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
Iurii Ignatko
f5da0ea4a1
Remove [this-escape] warnings in generated ApiClient classes ( #21620 )
2025-07-28 16:43:14 +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
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
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
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
Mikko Maunu
faf6924f63
Regular comment instead of document comment before package declaration. fix #21496 ( #21572 )
2025-07-17 01:29:18 +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
donilg
7a6be5a3e6
[scala][http4s] fix codegen for using reserved words in openapi ( #21518 )
2025-07-12 22:18:55 +08:00
Lukáš Vasek
117be2ca4c
1385 Generate constants for path in spring boot @RequestMapping ( #19782 )
2025-07-09 16:26:52 +08:00