Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency org.openapitools:openapi-generator-maven-plugin to v7.12.0 #1040

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.openapitools:openapi-generator-maven-plugin 7.10.0 -> 7.12.0 age adoption passing confidence
org.openapitools:openapi-generator-maven-plugin 7.5.0 -> 7.12.0 age adoption passing confidence

Release Notes

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

v7.12.0: released

Compare Source

v7.12.0 stable release (breaking changes with fallbacks) comes with 80+ enhancements, bug fixes and a refactored PHP Laravel server generator

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

  • [csharp] Set generichost as default #​20748
  • [protobuf-schema] Replace zero value enum suffix from UNKNOWN to UNSPECIFIED #​20473
  • [java][spring]Using Optional.ofNullable() at the fluent setters to prevent NPE #​20406

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

General

  • Add openapi-normalizer rule to set tags to vendor extension #​20713
  • remove false error message "Required var not in properties" #​20623
  • [DefaultCodegen] simplified comparison for required flag #​20602
  • [Gradle plugin] Add Option to Skip Merging Spec Files #​19396

asciidoc

  • [BUG] [ASCIIDOC] Asciidoc generator sets not defined example values as string value "null" #​20670

C#

  • [csharp][generichost] fix syslib1045, use GeneratedRegex for .net7+ #​20695
  • [csharp] Fixed discriminator #​20624
  • [csharp] unity error message and code cleanup #​20595
  • [csharp] Replaced property from allOf #​20578
  • [csharp][generichost] Removed a using statement #​20541
  • [csharp][generichost] Fixes de/serialization #​20540
  • [csharp][java] Fix enum discriminator default value #​19614

Dart

  • Fix: Resolve Dart 3.5+ and json_serializable 6.9.0+ compatibility issues in generated dart-dio clients #​20460

Erlang

  • [Erlang] Fix crash on escaped type in erlang-server handler #​20735
  • [erlang] erlang-server generator fixes #​20717

Elixir

Go

  • [Go] Implement GetActualInstanceValue method #​20663
  • [Go] skip validator import if oneOf discriminator lookup is enabled #​20497
  • [BUG][Go-server] attempt to fix the controller-api mustache template for a nullable bodyParam #​20478

Java

  • SingleRequestParameter setter parameter construction #​20679
  • reuse Configuration.defaultApiClientin no-arg Api ctors and make ref volatile #​20635
  • [java][client] Add static modifier to inner class in Java when useSingleRequestParameter=true #​20590
  • [JAVA][JAXRS-SPEC] Add config option to disable generation of @​JsonCreator constructor #​20570
  • Add option to generate a fully sealed model in the JavaSpring generator #​20503
  • Using Optional.ofNullable() at the fluent setters to prevent NPE #​20406 (breaking changes with fallbacks)
  • [java][spring] Add option optionalAcceptNullable to accept null values #​20746
  • [java][feign] Fix model combining properties and additional properties #​19713
  • [java][webclient] Fix model combining properties and additional properties #​19711
  • [java][resttemplate] Fix model combining properties and additional properties #​19706
  • [csharp][java] Fix enum discriminator default value #​19614

Julia

  • [julia] fix enum default vals, add api validations #​20520

Kotlin

  • [kotlin][client] Explode query param properly #​20714
  • [kotlin-spring] Adds 'suspend' modifier for reactive List endpoint with useFlowForArrayReturnType = false #​20710
  • [JavaSpring, kotlin-spring] attach sources when maven and interfaceOnly=true is used #​20640
  • Added HTTP method+path to JavaDocs in kotlin clients #​20618
  • [kotlin-client][jvm-spring-restclient] Extract data from PartConfig for multipart/form-data requests in ApiClient #​20598

NodeJS

  • fix(nodejs-express-server): remove unused axios dependency #​20707
  • docs(nodejs-express-server): fix default port number in README #​20706
  • fix(nodejs-express-server): update express-openapi-validator to v4 #​20704

PHP

  • [php][php-nextgen] enumUnknownDefaultCase true now return the correct value for unknown values #​20594
  • allow PHP generator to accept modelNameMapping 20533
  • Rewrite the PHP Laravel generator #​20526
  • [php-*] Explicitly declare nullable parameters #​20524

Protobuf schema

  • [protobuf-schema] Replace zero value enum suffix from UNKNOWN to UNSPECIFIED (Breaking change (with fallback)) #​20473

Python

  • [Python] Fix mustache tag syntax in github worklow #​20701
  • [Python] Add ca_cert_data parameter #​20697
  • [python] Encode list query parameters for python pydantic v1 client #​20614

Ruby

  • [Ruby] Fix ruby client generator to generate setter methods with not null validation #​20672
  • Ruby fix typhoeus api client multiple call with file return type #​20615

Rust

  • [rust] Fixed compiler errors for decimal types #​20708
  • [Rust] Fix enum variant name generation #​20689
  • [RUST] chore: Clean up Rust reqwest and model templates #​20674
  • [rust] Added support for text/plain to reqwest clients #​20643
  • [Rust] Fixed Rust default isAnyType causing compiler issues #​20631
  • [Rust-Axum] Implement support for Basic and Bearer auth in Claims #​20584
  • [Rust-Axum][Breaking Change] Implement a customizable error handler #​20463

Swift

  • [swift][bug] Fix generation of cases with associated values #​20568

TypeScript

  • [typescript] middleware import file extension in api types #​20745
  • Updated BaseService and service arguments in the mustache files #​20736
  • [typescript] Prevent generating invalid enum code due to empty variable names #​20699
  • [typescript-angular] refactor service classes for reducing bundle sizes by ~20% #​20681
  • [typescript-axios] Conditionally set user-agent #​20571
  • [typescript] add call-time middleware support #​20430

v7.11.0: released

Compare Source

v7.11.0 stable release (breaking changes with fallbacks) comes with 150+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

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

This release comes with 1 new generator:

  • Added PostgreSQL schema generator (BETA) (New generator) #​20255

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

General
  • [normalizer] Better handling of schema with just description (any type) #​20461
  • Set removeEnumValuePrefix to false by default (Breaking change (with fallback)) #​20452
  • On enum name sanitize, convert colon to underscore (Breaking change (with fallback)) #​20391
  • Various enhancements, bug fixes to default codegen and maven plugin #​20388
  • fix (DefaultGenerator): Handle "$ref" parameter reference to identify parameter ID #​20240
  • Trim the input of operationId filter in OpenAPINormalizer #​20189
  • Resolve inline schemas in webhooks #​20165
C
  • [C][Client] Make custom CMAKE_C_FLAGS work #​20432
  • C overhead fixes #​20402
  • [C][Client] Remove broken intToStr() macro, update samples #​20383
  • Fix a few issues with the C generator (part 8) #​20378
  • Fix a few issues with the C generator (part 7) #​20366
  • Fix a few issues with the C generator (part 6) #​20332
  • Fix a few issues with the C generator (part 5) #​20313
  • Fix a few issues with the C generator (part 4) #​20289
  • Fix a few issues with the C generator (part 3) #​20269
  • Fix a few issues with the C generator (part 2) #​20227
  • Fix a few issues with the C generator (part 1 version 2) #​14434
C#
  • [csharp] Removed .net6 and .net7 (Decommission) #​20449
  • [C#] avoid duplicated header in csharp client (restsharp) #​20421
  • [ASPNETCORE] Add support for central package version management #​20403
  • [csharp] bump version to .net8 #​20384
  • Fixes body of FormParameters in multipart/form-data requests without files sent by generated C# (RestSharp) #​20351
  • [csharp] add .net9 support #​20270
C++
  • [cpprestsdk] Implement Enum inside Objects #​19919
Elixir
Elm
  • [Elm] Fix not compiling all elm files in test suite #​20191
  • [Elm] Fix not sanitizing param name #​20171
  • [Elm] Add missing operation summary #​20147
Erlang
  • Erlang server – minor fix to return type and generated doc #​20197
  • Updated README.mustache template for the Erlang server generator #​20138
Go
  • [BUG] [Go-server] invalid composite literal type string #​20467
  • Update crypto dependencies to newer versions in go-gin-server #​20326
  • [BUG][GO] use value receiver for JSON marshal #​19962
Java
  • [JAVA] Address rawtypes and this-escape warnings in generated API clients #​20466
  • Adds @​Nullable annotation to Spring Boot generator #​20345
  • Depend on jackson-jakarta-rs-json-provider when useJakartaEe is true in build.gradle for Java resttemplate generator #​20322
  • Fix bug in common path prefix calculation in Helidon generators #​20310
  • [Java] Add option to fallback to legacy enum naming #​20172
  • [Java] [Microprofile] Add Json-B polymorphism type info annotations #​20164
  • Deprecate micronaut openapi generator (Decommission) #​20107
  • [Java] Remove bean validation annotations on builder #​19580
JavaScript
  • Add option skipDefaultUserAgent to skip setting user agent in JS client #​20367
Julia
  • Fix Julia template for binary string #​20355
Kotlin
  • Bump Ktor to 3.0.3 for Kotlin client #​20410
  • [kotlin-spring] Adds useFlowForArrayReturnType option for reactive mode #​20409
  • Add gradle wrapper v8.1.1 to kotlin-spring #​20341
  • [kotlin][client] add option to support non-ascii headers in okhttp #​20331
  • [kotlin][client] support text/plain in okhttp #​20250
  • [Kotlin Server] Update Ktor to the next major version 3 #​20245
  • fix: register gson CustomTypeAdapterFactory in kotlin-client if generateOneOfAnyOfWrappers enabled #​20217
PHP
  • [php-nextgen] Use conditional access for enumref query params #​20418
  • [PHP][php-nextgen] Improve method parameter typing #​20361
  • [FIX][PHP-NEXTGEN] Missing tagged union discriminator literal #​20356
  • [PHP][php-nextgen] List all possible return types #​20335
  • [PHP][php-nextgen] Fix usage of enums in parameters #​20294
  • [php] Follow PHP8.4 update: declared nullable parameters explicitly #​20243
  • PHP8.4 comptible, php-symfony resources #​20162
PostgreSQL
  • Added PostgreSQL schema generator (BETA) (New generator) #​20255
Python
  • [Python] adjust multi-constraint dependency syntax to comply with PEP 508 #​20458
  • Fix package name in FastAPI README template #​20371
  • [python,aiohttp] Don't create persistent aiohttp.ClientSession in init #​20292
  • [Python] Bug Fix - model_generic templates to have valid imports for polymorphism #​20273
  • Fix(Python): Add custom exceptions for HTTP status codes 409 (Conflict) and 422 (Unprocessable Entity) #​20251
  • [python-flask] Change requestBody argument name to 'body' in controllers #​20207
  • [python] Encode list query params #​20148
  • [BUG][PYTHON] fix setup.py when no paths are specified #​20098
R
  • [R] fix to-list and to-json functionality #​20132
  • [R] improve binary/text response handling #​20131
Rust
  • [Rust] harden against name collisions while generate cleaner rust code #​20396
  • [Rust-Axum][Breaking Change] Improve the oneOf model generator (Breaking change (with fallback)) #​20336
  • [Rust] Fixed rust keyword params in reqwest-trait library #​20333
  • [Rust] Added path param normalization for kebab case path params #​20309
  • [Rust-Axum] Fix: handling non-lowercase Header in Request/Response #​20178
  • [Rust-Axum] Support quotes in string literals #​20176
  • [Rust-Axum] Dynamically set the types of integer literals #​20133
  • [rust][reqwest] support binary type for download #​20031
Swift
  • [swift] fix: URLSession template correctly percent-encodes http body for application/x-www-form-urlencoded #​20381
  • [swift5] Add access control to the properties of validation rules #​20380
  • [swift6] Change Response to struct #​20185
  • [swift5] Add Identifiable conformance to supported models #​20179
  • [swift6] Add checked Sendable conformance to Validation structs #​20150
  • [swift6] Add conditional Hashable conformance to NullEncodable #​20149
TypeScript
  • [typescript-fetch] fix API signature return type for empty 20x responses #​20249
  • fix(typescript-angular): fix new angular dependency cli option usage #​20247
  • feat(typescript-angular): add support for Angular V19 #​20205
  • Fix dangerous destructuration in typescript-nestjs services #​20157
  • [typescript-axios] Add User-Agent Header to Default Axios #​20067
Scala
  • Improve handling of pekko versions in scala-akka-http-server generator #​20277

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate renovate related stuff label Mar 14, 2025
Copy link
Contributor

coderabbitai bot commented Mar 14, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This pull request updates the version of the openapi-generator-maven-plugin across multiple modules. In the configuration files for projects such as wls-admin-service, wls-auth-service, wls-basisdaten-service, wls-ergebnismeldung-service, wls-monitoring-service, and wls-wahlvorstand-service, the plugin version is incremented to 7.12.0. The wls-admin-service project changes from version 7.5.0, while the other services update from 7.10.0. The updates are limited to version bumps, with no modifications to the existing plugin configurations, execution settings, or target specifications for API client code generation.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary or `` to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or `` anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/org.openapitools-openapi-generator-maven-plugin-7.x branch from f3d98aa to b06ebcd Compare March 14, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants