Skip to content

chore(deps): update dependency openapitools/openapi-generator to v7.22.0#264

Open
stackit-pipeline wants to merge 1 commit intomainfrom
renovate/openapitools-openapi-generator-7.x
Open

chore(deps): update dependency openapitools/openapi-generator to v7.22.0#264
stackit-pipeline wants to merge 1 commit intomainfrom
renovate/openapitools-openapi-generator-7.x

Conversation

@stackit-pipeline
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
OpenAPITools/openapi-generator minor v7.19.0 -> v7.22.0
OpenAPITools/openapi-generator minor v7.20.0 -> v7.22.0

Release Notes

OpenAPITools/openapi-generator (OpenAPITools/openapi-generator)

v7.22.0: released

Compare Source

v7.22.0 stable release comes with 150+ enhancements and bug fixes.

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General
  • refactor: centralize common schema checks in ModelUtils #​23608
  • [CORE] : BUGFIX - prevent Stream closed on concurrent JAR access in TemplateManager #​23596
  • Improve OneOf handling with new normalizer REPLACE_ONE_OF_BY_DISCRIMINATOR_MAPPING #​23543
  • ci: upload openapi-generator-cli.jar as GitHub Release asset #​23524
  • fix: preserve parent description when simplifying nullable anyOf/oneOf #​23361
  • [GRADLE-PLUGIN] - Modernize plugin to use Lazy Configuration API #​23042
C#
  • [csharp][generichost] Fix TokenBase race condition #​23356
  • [csharp][generichost] Fix possible concatentation bug #​23355
  • [csharp][generichost] Fix invalid implicit cast #​23344
  • [csharp][generichost] Treat warnings as errors #​23343
  • [csharp][generichost] Fix dateTimeOffset bug #​23342
  • Marking a class abstract should not mark the methods abstract as well #​23291
  • [csharp][generichost] Multiple oauth tokens #​23264
  • [csharp] Support null types #​23260
Crystal
  • [crystal] Fix empty auth_settings Hash literal #​23625
Dart
  • [dart-dio] Fix json_serializable serialize template to support hasFormParams #​23579
  • Fix wrong import statements in dart-dio when using import-mappings #​23571
  • fix: Change Dart Serializer for MapBuilder to be nullable #​23460
  • feat(dart-dio): add methods to remove auth tokens in api client #​23386
Go
  • feat(go): add enumUnknownDefaultCase config option #​23417
Java
  • Correct imports for RxJava2 and RxJava3. Add support for Vert.x 5. #​23563
  • add support for sealed response interfaces for spring-declarative-http-interface #​23549
  • [Java][jersey3] Add error entity deserialization to ApiException #​23542
  • [Java] [apache-httpclient] Add support for Jackson3 for apache httpclient generator #​23446
  • [Java][WebClient][RestClient] Standardize useAbstractionForFiles behavior to use Resource interface #​23382
  • feat(spring): enable openApiNullable with useJackson3 #​23331
  • [java] [Spring] useJspecify for java clients and spring generator #​23256
Kotlin
  • [KOTLIN-SPRING;JAVA-SPRING] chore: upgrade spring boot 3 to 3.3.13 version #​23591
  • [KOTLIN-SPRING] Add oneOf sealed interface support with discriminator #​23574
  • fix [Kotlin]: handle nullable response.body in jvm-okhttp ApiClient #​23515
  • [kotlin-server] Fix class names for useTags #​23441
  • fix(kotlin-spring): use Jackson 3 annotation package in model imports #​23406
PHP
  • [PHP] Support map/object format for x-enum-varnames and x-enum-descriptions #​23540
  • fix(php-symfony): enum $ref query params — short types and imports (#​23521) #​23525
  • [php-nextgen] Fix validity checks for nullable properties that are required #​23419
  • [php-nextgen] Remove invalid @​implements ArrayAccess tag in models with parents #​23418
  • [Php] Fix form data field names to use spec-defined baseName #​23347
  • [php-nextgen]: Fix imports for models with parent schema #​23317
  • [php-nextgen]: Fix ArrayAccess parameter types #​23315
PowerShell
  • [POWERSHELL] fix: single-quote DTO property names to prevent $-variable interpolation #​23624
  • [PowerShell] Correct comment syntax in array query parameters #​23491
Python
  • [PYTHON][bugfix] Fix python model dict array generation #​23538
  • [PYTHON][bugfix] Fix missing post-params when content type is json #​23526
  • [python] Add buildSystem option to support hatchling #​23483
  • fix(python): Fix sanitize_for_serialization code generation for python client #​23415
  • Drop python 3.9 and support python 3.14 in python generator #​22926
Rust
  • fix(rust): use serde_repr for integer property enums #​23580
  • [rust-axum] Fix uint32/uint64 type mapping #​23547
  • feat(rust-server): refactor server module templates to avoid a monolithic run function. #​23432
  • Feat: (Rust) Added chrono (date/date-time) support for Rust Generator #​23451
Scala
  • [Fix][scala-sttp][circe] Add Base64OrArrayByteDecoder for format:byte and format:binary JSON properties #​23619
  • [Fix][scala-sttp][circe] Add NaN-tolerant Decoder[Double] for non-finite values #​23611
  • [feat][scala-sttp] Add oneOf and allOf discriminator support with sealed traits for circe generator #​23510
  • Mark scala-finch generator as deprecated #​23484
  • [Fix][scala-sttp][circe] Circe codecs do not preserve original JSON field names for non-camelCase properties #​23465
Swift
TypeScript
  • Update axios to 1.15.2 #​23637
  • fix(typescript-angular): handle Set in query parameter serialization #​23442
  • fix(typescript-fetch): prevent HTML-escaping of pattern in validationAttributes #​23420
  • [typescript-*]: Improve literal regexp for JSON MIME-type #​23319
  • fix(typescript-fetch): remove barrel imports #​22706

v7.21.0: released

Compare Source

v7.21.0 stable release (breaking changes with fallbacks) comes with 190+ enhancements and bug fixes.

This release comes with 3 breaking changes (with fallback):

  • Use Spring Boot 3.x by default (useSpringBoot3=true) #​23318
  • Add option to fallback to non-pointer number, boolean types #​23197
  • fix c-libcurl generator for int and boolean values by moving to int* #​23052

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General
  • Update jackson dependencies to newer versions #​23152
  • fix: core: preserve OAS 3.1 numeric exclusive validation constraints in composed schemas #​23053
  • fix: OAS3.1 deprecated property for array properties #​23019
  • openapi-generator-gradle-plugin: upgrade Gradle to v8 #​22864
  • (OpenAPINormalizer): Removed reset of OAS content #​22573
C
  • Add option to fallback to non-pointer number, boolean types #​23197 (Breaking change (with fallback))
  • fix c-libcurl generator for int and boolean values by moving to int* (Breaking change (with fallback)) #​23052
C#
  • [C#] Fix invalid implicit casts #​23192
  • [csharp] Fix/override central package versions for csharp test projects #​23092
  • [csharp][generichost] Better file support #​22806
C++
  • [cpp-qt-client] Remove deprecated SignalE/SignalEFull signals in API classes #​23113
  • [cpp-qt-client] Optimize generated code #​23089
  • [cpp-qt-client]Fix variable redeclarations in the api-body.mustache #​22982
  • Move C++ virtual destructor definition to .cpp files #​21530
Dart
  • [dart] Fix enum defaults, Object arrays, and nullable required assertions in native serialization #​23027
  • [dart] Preserve inner generic type for Map<String, List> deserialization #​22717
  • Add support for Optional in Dart generator (both dart and dart-dio) to distinguish absent, null, and present states #​22257
Go
  • Update go client README to match modern module support #​23292
Java
  • Use Spring Boot 3.x by default (useSpringBoot3=true) (Breaking change (with fallback)) #​23318
  • Decommission springfox from spring generator #​23280
  • fix(jaxrs): correct add/remove methods for JsonNullable<List> fields #​23258
  • [Java] Optimize All Enum fromValue Mustache Templates #​23165
  • Update jackson core in Java restclient to newer version #​23151
  • [java][resttemplate] Add support for Jackson 3 and Spring Boot 4 in Java resttemplate #​23144
  • [spring] Add an option "additionalNotNullAnnotations" to include additional NotNull annotations #​23096
  • feature/jackson3 native #​23071
  • feat(jackson3): add jackson3 support for Java Client generator - WebClient #​23031
  • feature(jackson3) add jackson3 support for Java Client generator - Restclient #​23023
  • fixes(spring) add JsonProperty on setter #​22978
  • [java-spring] - add 'includeHttpRequestContext' additional property (option) defaulting to "true" for reactive and "false" for blocking to include ServerWebExchange/HttpServletRequest #​22910
  • spring-http-interface: introduce springHttpClientAdapter, fix paramDoc.mustache #​19710
JavaScript
  • [JS] Fix handling of oneOf when you have explicitly used a discriminator #​23026
Kotlin
  • Decommission springfox from kotlin-spring generator #​23283
  • [kotlin-client] Support for integer enums for multiplatform with custom serializer #​23211
  • Bring Kotlin client code up-to-speed with changes #​23188
  • [kotlin][kotlin-spring] Add companionObject option to generate companion objects in data classes #​23176
  • Upgrade ktor to 3.4.0, kotlin to 2.3.0 #​23164
  • fix(kotlin): support non-discriminator oneOf/anyOf model and array types with kotlinx_serialization #​23007
  • Type safe error handling in kotlin spring server with useSealedResponseInterfaces flag #​23003
OCaml
  • [OCaml][Fix] Unreferenced enum + Direct recursive types #​23005
PHP
  • [php-nextgen]: Inherit model method docs and fix interface types #​23307
  • [php-nextgen]: Fix array defaults #​23290
  • [php-nextgen] Discriminator class detection uses wrong namespace #​23287
  • PHP NextGen: address PSR-12 formatting violations #​23271
  • PHP Generator: address PSR-12 formatting violations #​23250
  • [php-symfony] use baseName for query param lookup in generated controllers #​23222
Postman
  • Postman Generator: Format json edge case #​23265
  • Postman Generator: Add folder description #​23249
Python
  • [python] Fix deserialization of UUID JSON type in template #​23295
  • Use Pydantic for json serialization in .to_json method #​23210
  • [Python] Some fixes for pydantic v1 templates for nested dicts #​23162
  • [Python] Fix python template for list and dicts of dicts #​23112
  • feat(python): expose all config properties in constructor #​23021
  • [PYTHON] switch from mutable bytearray to immutable bytes to avoid pydantic error #​22988
  • fix(python): missing field_validator import for UUID properties with pattern #​22947
  • python(pydantic): Use validate_by_name config; populate_by_name will be deprecated #​22931
Ruby
Rust
  • [rust] Fix array enums for generated object types #​23279
  • [rust-server] Update mockall to 0.14 #​23048
  • Rust-server: implement ValidateComposited traits for complex types and add integer enum support #​23045
Scala
  • Add scalafmt (plugin) to scala-http4s client generator #​23300
  • feat: support date-time-local in scala generators #​22990
  • feat: Add oneOf for scala-http4s client #​22969
Swift
  • [Swift6] Fix TSan race condition in Swift6 SynchronizedDictionary #​23091
  • fix(swift): disable use of group separator #​23062
TypeScript
  • [typescript-fetch] Add option to exclude RequestOpts from API interfaces #​23181
  • fix(typescript-fetch): generate validationAttributes when withoutRuntimeChecks=true #​23107
  • [typescript-angular] Include OIDC credential headers #​23065
  • fix(typescript-fetch): ResponseError prototype chain #​23010
  • [typescript-nestjs-server] improve request parameter handling #​22960

v7.20.0: released

Compare Source

v7.20.0 stable release comes with 140+ enhancements, bug fixes. Once again thanks for all the contributions from the community.

This release comes with 2 new generators:

  • [Terraform] New Terraform Provider generator #​22949
  • C++ Httplib server codegen #​21724

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General
  • feat: Make model property generation deterministic by sorting alphabetically #​22836
  • [Normalizer] add type information to an error message #​22742
C#
  • [csharp][generichost] Added xml comments and restrict some access #​22796
  • C# GenericHost Support multi targetting #​22234
  • C# GenericHost remove state from TokenProvider abstract base class so it makes more sense for JIT requested tokens (for long lived ApiClients with OAuth security schemes) #​22233
  • [csharp][generichost] Add HTTP client name to fix client duplicity #​22118
C++
  • [cpp-qt-client]Prefix signal argument types with namespace #​22921
  • [cpp-qt] Add global server index setter for all operations #​22760
  • C++ Httplib server codegen (New Generator) #​21724
Go
  • [go] Fix text escaping in example code generation #​22841
Java
  • [java][jackson] fix double serialization of discriminator #​22924
  • [BUG] [JAVA] fix validateJsonElement failing for required nullable fields #​22912
  • [JAVA][FEIGN] Put back hardcoded HTTP Client but without the performance issue #​22905
  • feature(jackson3) add jackson3 support for spring generator #​22854
  • [JAVA-SPRING;KOTLIN-SPRING] - add possibility to override x-implements and x-kotlin-implements via config options. #​22839
  • Fix Jackson Serialization of additionalProperties on java and jaxrs-spec #​22366
Kotlin
  • [KOTLIN;SPRING] - add support for 'x-spring-paginated' to get closer to feature parity with java-spring codegen add 'autoXSpringPaginated' option; support x-operation-extra-annotation #​22958
  • [BUG] [KOTLIN-SPRING] @​HttpExchange in declarative interface does not support property placeholders #​22882
  • [kotlin][jvm-okhttp4] Fix multipart/form-data with JSON content-type #​22856
  • [Kotlin][Client] Migrate Enum.values() to Enum.entities #​22852
  • [KOTLIN-CLIENT] fix Parent interface class having incorrect collection property type List instead of Set #​22850
  • [JAVA-SPRING][KOTLIN-SPRING] - add possibility to override x-implements and x-kotlin-implements via config options. #​22839
  • [kotlin-server] Add polymorphism, oneOf and allOf support #​22610
PHP
  • [php-symfony] fix sequencial escape when validating a class type #​22906
  • [php][php-nextgen] Fix nullability when multiple response types are possible #​22827
Protobuf
  • [Protobuf] Fix Discriminator Issue and add capability Enum Extraction #​22740
Python
  • Update python sdk to strip any directory traversal in filename #​22965
  • Remove coding: utf-8 as that's the default already #​22934
  • feat(python): enhance retry configuration in REST client #​22867
  • [python-fastapi] Set python version to 3.10 #​22823
R
  • [R] avoid to-JSON issues when R6 classes contain lists of R6 classes #​22828
  • [R] optionally skip parsing responses to R6 objects #​22705
Rust
  • Add support for ApiKey auth to rust-server #​22950
  • Add support for enums of integers in rust-server generator #​22915
  • fix: apply integer type fitting for Rust params #​22853
  • feat: Support selective ssl/tls backend in rust-server to optionally remove openssl #​22825
  • [Rust] Update reqwest to 0.13 and reqwest-middleware to 0.5 #​22816
  • fix: Fix rust-server model generation following serde_valid upgrade #​22737
Swift
  • [swift6][client] Remove unnecessary Combine checks #​22810
  • [swift6] fix Vapor build, disable swift 5 tests on CI and enable more swift 6 tests on CI #​22805
  • [swift6][client] Increase minimum supported SDK to accommodate swift concurrency #​22802
  • [swift6][client] improve swift 6 thread safety #​22801
  • [swift6][client] Add new hooks to OpenAPIInterceptor #​22800
  • [swift6][client] mark PromiseKit as deprecated #​22792
  • [swift6][client] make api calls concurrent #​22790
  • [swift5][client] soft deprecate Swift 5 generator #​22789
  • [swift6][client] mark some closures as sendable #​22776
Terraform
  • [Terraform] New Terraform Provider generator (New Generator) #​22949
TypeScript
  • fix(typescript-axios): Ignore unused parameter on JSON serializer replacer function #​22858
  • [BUG][Typescript] Fix isRelativeUrl incorrectly detecting URLs containing @​, -, ~, . as not relative. #​22768
  • [typescript-angular] Fix inner enum reference in multi-map property type #​22748
  • Add create requestOpts method to {{classname}}Interface #​21709
  • [typescript] make TypeScript version configurable and default to v5 #​20064

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@stackit-pipeline stackit-pipeline requested a review from a team as a code owner April 29, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants