Bump org.openapitools:openapi-generator from 7.11.0 to 7.12.0 #444

Merged
dependabot[bot] merged 1 commit from dependabot/maven/org.openapitools-openapi-generator-7.12.0 into main 2025-02-28 07:44:56 +01:00
dependabot[bot] commented 2025-02-28 07:40:00 +01:00 (Migrated from github.com)

Bumps org.openapitools:openapi-generator from 7.11.0 to 7.12.0.

Release notes

Sourced from org.openapitools:openapi-generator's releases.

v7.12.0 released

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

  • fix outer enum number bug #20592
  • fix outer enum string bug #20587

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [org.openapitools:openapi-generator](https://github.com/openapitools/openapi-generator) from 7.11.0 to 7.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openapitools/openapi-generator/releases">org.openapitools:openapi-generator's releases</a>.</em></p> <blockquote> <h2>v7.12.0 released</h2> <p>v7.12.0 stable release (breaking changes with fallbacks) comes with 80+ enhancements, bug fixes and a <a href="https://redirect.github.com/OpenAPITools/openapi-generator/pull/20526">refactored PHP Laravel server generator</a></p> <p>This release comes with <a href="https://github.com/OpenAPITools/openapi-generator/pulls?q=is%3Apr+milestone%3A7.12.0+is%3Aclosed+label%3A%22Breaking+change+%28with+fallback%29%22">3 breaking changes (with fallback)</a>:</p> <ul> <li>[csharp] Set generichost as default <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20748">#20748</a></li> <li>[protobuf-schema] Replace zero value enum suffix from UNKNOWN to UNSPECIFIED <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20473">#20473</a></li> <li>[java][spring]Using Optional.ofNullable() at the fluent setters to prevent NPE <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20406">#20406</a></li> </ul> <p>Below are the highlights of the changes. For a full list of changes, please refer to the <a href="https://github.com/OpenAPITools/openapi-generator/pulls?q=is%3Amerged+is%3Apr+milestone%3A7.12.0+">&quot;Pull Request&quot;</a> tab.</p> <h2>General</h2> <ul> <li>Add openapi-normalizer rule to set tags to vendor extension <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20713">#20713</a></li> <li>remove false error message &quot;Required var <!-- raw HTML omitted --> not in properties&quot; <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20623">#20623</a></li> <li>[DefaultCodegen] simplified comparison for required flag <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20602">#20602</a></li> <li>[Gradle plugin] Add Option to Skip Merging Spec Files <a href="https://redirect.github.com/openapitools/openapi-generator/issues/19396">#19396</a></li> </ul> <h2>asciidoc</h2> <ul> <li>[BUG] [ASCIIDOC] Asciidoc generator sets not defined example values as string value &quot;null&quot; <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20670">#20670</a></li> </ul> <h2>C#</h2> <ul> <li>[csharp][generichost] fix syslib1045, use GeneratedRegex for .net7+ <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20695">#20695</a></li> <li>[csharp] Fixed discriminator <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20624">#20624</a></li> <li>[csharp] unity error message and code cleanup <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20595">#20595</a></li> <li>[csharp] Replaced property from allOf <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20578">#20578</a></li> <li>[csharp][generichost] Removed a using statement <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20541">#20541</a></li> <li>[csharp][generichost] Fixes de/serialization <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20540">#20540</a></li> <li>[csharp][java] Fix enum discriminator default value <a href="https://redirect.github.com/openapitools/openapi-generator/issues/19614">#19614</a></li> </ul> <h2>Dart</h2> <ul> <li>Fix: Resolve Dart 3.5+ and json_serializable 6.9.0+ compatibility issues in generated dart-dio clients <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20460">#20460</a></li> </ul> <h2>Erlang</h2> <ul> <li>[Erlang] Fix crash on escaped type in erlang-server handler <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20735">#20735</a></li> <li>[erlang] erlang-server generator fixes <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20717">#20717</a></li> </ul> <h2>Elixir</h2> <ul> <li>fix outer enum number bug <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20592">#20592</a></li> <li>fix outer enum string bug <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20587">#20587</a></li> </ul> <h2>Go</h2> <ul> <li>[Go] Implement GetActualInstanceValue method <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20663">#20663</a></li> <li>[Go] skip validator import if oneOf discriminator lookup is enabled <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20497">#20497</a></li> <li>[BUG][Go-server] attempt to fix the controller-api mustache template for a nullable bodyParam <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20478">#20478</a></li> </ul> <h2>Java</h2> <ul> <li>SingleRequestParameter setter parameter construction <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20679">#20679</a></li> <li>reuse Configuration.defaultApiClientin no-arg Api ctors and make ref volatile <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20635">#20635</a></li> <li>[java][client] Add static modifier to inner class in Java when useSingleRequestParameter=true <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20590">#20590</a></li> <li>[JAVA][JAXRS-SPEC] Add config option to disable generation of <a href="https://github.com/JsonCreator"><code>@​JsonCreator</code></a> constructor <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20570">#20570</a></li> <li>Add option to generate a fully sealed model in the JavaSpring generator <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20503">#20503</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/afc27ef4bc969f07613807aba51ec1a9f46cf605"><code>afc27ef</code></a> v7.12.0 release (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20757">#20757</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/6e9a0559a8d575f341dd826fc2e5cd46bce2a0f3"><code>6e9a055</code></a> [csharp] Set generichost as default (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20748">#20748</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/1c3eade94d5e1825561562c17a388685c3efa64e"><code>1c3eade</code></a> [java][spring] Add option <code>optionalAcceptNullable</code> to accept null values (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20">#20</a>...</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/fc00a663e1688c99d6e8917b6fb222cf83141d4c"><code>fc00a66</code></a> [typescript] middleware import file extension in api types (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20745">#20745</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/b3f11963c3925278507722886df65cc921998223"><code>b3f1196</code></a> [typescript] add call-time middleware support (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20430">#20430</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/60bae732d3e6c9ee03df9f129b0bbb3ed2871c0e"><code>60bae73</code></a> SingleRequestParameter setter parameter construction (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20679">#20679</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/275107e3f1615d8b3bb003744f48c91cdc4fbbc3"><code>275107e</code></a> Updated BaseService and service arguments in the mustache files to fix <a href="https://redirect.github.com/openapitools/openapi-generator/issues/20732">#20732</a>...</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/fb7aa580bf679b101a9d1ad1bc2ff436fb1327f4"><code>fb7aa58</code></a> [Java][RestClient] Enable access token refresh (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20733">#20733</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/481c69063d9aa89b7e53d89273a39c2ed183e6f5"><code>481c690</code></a> [Rust] Fix enum variant name generation (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20689">#20689</a>)</li> <li><a href="https://github.com/OpenAPITools/openapi-generator/commit/57b1c91d17d8389215e4f5f208fbc4bcc8b2d6bc"><code>57b1c91</code></a> Added support for Cookie parameters (<a href="https://redirect.github.com/openapitools/openapi-generator/issues/20729">#20729</a>)</li> <li>Additional commits viewable in <a href="https://github.com/openapitools/openapi-generator/compare/v7.11.0...v7.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.openapitools:openapi-generator&package-manager=maven&previous-version=7.11.0&new-version=7.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
sschnabe (Migrated from github.com) reviewed 2025-02-28 07:40:00 +01:00
rpahli (Migrated from github.com) reviewed 2025-02-28 07:40:00 +01:00
fabian-schlegel (Migrated from github.com) reviewed 2025-02-28 07:40:00 +01:00
wistefan (Migrated from github.com) reviewed 2025-02-28 07:40:00 +01:00
kokuwaio-bot (Migrated from github.com) approved these changes 2025-02-28 07:40:10 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
kokuwaio/micronaut-openapi-codegen!444
No description provided.