Skip to content

Update dependency org.openapitools:openapi-generator-maven-plugin to v7.22.0#277

Open
xdev-renovate wants to merge 1 commit intodevelopfrom
renovate/org.openapitools-openapi-generator-maven-plugin-7.x
Open

Update dependency org.openapitools:openapi-generator-maven-plugin to v7.22.0#277
xdev-renovate wants to merge 1 commit intodevelopfrom
renovate/org.openapitools-openapi-generator-maven-plugin-7.x

Conversation

@xdev-renovate
Copy link
Copy Markdown
Member

@xdev-renovate xdev-renovate commented Mar 25, 2026

This PR contains the following updates:

Package Type Update Change
org.openapitools:openapi-generator-maven-plugin build minor 7.20.07.22.0

Release Notes

openapitools/openapi-generator (org.openapitools:openapi-generator-maven-plugin)

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

Configuration

📅 Schedule: (UTC)

  • 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 this update again.


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

This PR has been generated by Mend Renovate.

@xdev-renovate xdev-renovate force-pushed the renovate/org.openapitools-openapi-generator-maven-plugin-7.x branch 2 times, most recently from 715117d to dca4a74 Compare April 2, 2026 04:52
@xdev-renovate xdev-renovate force-pushed the renovate/org.openapitools-openapi-generator-maven-plugin-7.x branch 2 times, most recently from dbba0f5 to bf71d02 Compare April 21, 2026 05:07
@xdev-renovate xdev-renovate force-pushed the renovate/org.openapitools-openapi-generator-maven-plugin-7.x branch from bf71d02 to 04f72f4 Compare April 29, 2026 05:14
@xdev-renovate xdev-renovate changed the title Update dependency org.openapitools:openapi-generator-maven-plugin to v7.21.0 Update dependency org.openapitools:openapi-generator-maven-plugin to v7.22.0 Apr 29, 2026
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.

1 participant