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 OpenAPITools/openapi-generator to v7 #23

Closed

Conversation

stackit-pipeline
Copy link
Contributor

This PR contains the following updates:

Package Update Change
OpenAPITools/openapi-generator major v6.5.0 -> v7.0.1

Release Notes

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

v7.0.1: released

Compare Source

v7.0.1 is the first patch release after the v7.0.0 major release 3 weeks ago. More than 80 PRs have been merged based on the feedbacks of our users who have upgraded to the latest v7.0.0 release.

One important enhancement is beta support for OpenAPI specification v3.1.0.

For a list of changes (bug fixes, enhancements), please refer to the PR list.

v7.0.0: released

Compare Source

We're happy to announce the release of v7.0.0 - a major release with lots of enhancements and bug fixes including breaking changes without fallback. More than 500 PRs contributed by the awesome OpenAPI Generator community have been included in this release.

For a list of breaking changes, please refer to the following:

New Generators:

  • Add Zapier generator #​15997
  • Sttp4 client generator #​1583
  • [swift] New 'swift-combine' client generator for swift #​15823
  • [kotlin] New 'jvm-spring-webclient' library #​15568

General

  • Support library option via additionalProperties #​16242
  • [Default] update isAdditionalPropertiesTrue tag to cover more types #​16227
  • Add isJson, isXml to consumes, produces #​16085
  • Use openjdk official docker image in openapi-generator-online #​15964
  • fix security features listed in documentation - remove openID Connect included by default #​15773
  • [openapi-normalizer] Support normalizing null types using OAS 3.1 syntax #​15698
  • Fix extensions handling for allOf with single schema #​15632
  • Update to JDK11. Breaking change (without fallback) #​15553
  • [openapi-normalizer] enable some rules by default Breaking change (with fallback) #​15501
  • Use enum type for discriminator #​13846

asciidoc

C

C#

  • [csharp] Fixed model property data type #​16315
  • [csharp] Update RestSharp to 110.2.0 #​16122
  • [csharp] Enable setting of RemoteCertificateValidationCallback through IReadableConfiguration #​15979
  • [csharp][generichost] Added value converter class #​15970
  • Rename csharp-netcore to csharp Breaking change (without fallback) #​15903
  • [csharp-netcore][generichose] Use correct name for enum while serializing #​15742
  • [csharp-netore][generichost] Renamed ToModel to AsModel. Breaking change (without fallback) #​15662
  • [aspnetcore] Adds {{>partial_header}} to missing mustache files #​15616
  • [csharp] Fix property names. Breaking change (without fallback) #​13681

C++

  • [cpp-qt-client] Fix warning #​16083
  • [C++][Pistache] Serialize integer enums if possible #​16080

Crystal

  • Add mapping features to crystal client generator #​16253

Dart

  • Fix epoch deserialization and parsing numbers #​15948
  • [Dart] Convert DioError to DioException #​15783

Elixir

Eiffel

  • [Eiffel] fix Eiffel schema lookup, clean up outdated samples #​15901

Grovvy

  • [groovy] support enum generation in groovy client #​15619

Go

  • [go] fix issue that tempfile is not deleted #​16303
  • [Go] Update go-echo-server generator to respect the --git-host argument #​15720
  • [Go] Update API naming to follow Golang standard pkg (1 line change). Breaking change (with fallback) #​15331

Haskell

  • [haskell-servant][haskell-yesod] Fix specialCharReplacements #​16289

Java

  • [JAVA] [WebClient] Handle list of String special case in WebClient generator #​16326
  • [spring] fix void return type for useResponseEntity: false #​16230
  • Support for multipart/form-data; charset="utf-8" in Java GSON Generator #​16211
  • Fix import for spring boot 3 #​15949
  • Fix cli options use tags and api name suffix. Breaking change (without fallback) #​15936
  • spring: fix spring pageable used without any config. Breaking change (without fallback) #​15113
  • [java] remove fullJavaUtil option. Breaking change (without fallback) #​15033
  • Fix additionalProperties in spring generator. Breaking change (without fallback) #​11572

JavaScript

  • Use substring instead of substr in JavaScript and TypeScript generators #​15937

Julia

  • [Julia] correct handling of POST data encodings #​16149

Kotlin

  • [kotlin-client][multiplatform] Added support enum query parameter #​16327
  • [bug][kotlin] sanitize model names according to convention. Breaking change (with fallback) #​16267
  • [kotlin-server] add support for jakarta ee namespace #​15593
  • [Ktor] Update generator to latest Ktor version. Breaking change (without fallback) #​14296

PHP

  • PHP - Permit to customize more composer.json parts #​16012
  • [PHP-Symfony] Fix Symfony warning on OpenAPIServerBundle #​15960

Postman

  • [POSTMAN] Mark request header as disabled #​16028
  • [Postman Collections] Keep original header name #​1590

Python

  • Rename python-nextgen to python. Breaking change (without fallback) #​15504
  • Decommission python client generator #​15486
  • Decommission python-legacy, python-prior client generators #​15475
  • [python-fastapi] Added a base class for the actual implementation. Breaking change (without fallback) #​14470

R

  • Add mapping features to R client generator #​16252
  • Fix NPE in R construct example code #​15953

Rust

Scala

  • [Scala] scala-akka-http-server support pekko-http using useApachePekko flag #​16255

Swift

  • [swift] to support application/octet-stream for file upload #​16299

TypeScript

  • [typescript-nestjs] allow configuration with forRootAsync #​16112
  • Add support for Angular 16 #​15925

Xojo

v6.6.0

Compare Source

v6.6.0 release comes with bug fixes, enhancements and 2 new generators:

New Generators:

There are 2 breaking change with fallback:

  • [csharp-netcore] Explicitly implement IValidatableObject #​15160
  • [python-nextgen] Add support for union of StrictFloat and StrictInt #​15124

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • [openapi-normalizer] Fix nullable boolean check in oneOf schema #​15276

C#

  • [csharp-netcore] Better handling of oneOf/anyOf with duplicated data type #​15377

C++

  • Fix request parameter encode call #​15313
  • [C++][Pistache] Generate API generalization interface #​15279
  • [cpp-ue4] Fix multi collection format has duplicated prefix #​15260

Dart

  • [dart-dio] fix endpoints returning null #​15433
  • Drop default value when unnecessary #​15368

Elm

  • [Elm] Fix printing empty notes #​15238
  • [Elm] Fix List of type missing required import(s) #​15171

Go

  • [go-server] Fix: name declared and not used #​15201
  • [go-server] Update dependencies and use generics #​15087
  • [go-server] Change Routes type from []Route to map[string]Route #​15084

Java

  • [BUG][JAVA][restTemplate] ApiClient is not compatible with spring-web 6 Observation API #​15421
  • [java][resttemplate] Add property for config removal of @​Component from ApiClient and Api classes #​15416
  • [Spring] fix Paginated without params (fix #​15265) #​15315
  • [java][Jersey2/3] Probe content type for multipart upload parts #​14965

Kotlin

  • [kotlin][client] Use Kotlin code style in parameter enum class names #​15447
  • [Kotlin-Spring] add Kotlin based Spring Cloud OpenFeign generator #​15048

N4JS

  • Support language N4JS (New generator) #​15397

PHP

Python

  • [python-nextgen] support constructor with position argument in oneOf/anyOf model #​15434
  • [python-nextgen] Add ApiResponse object #​15367
  • Mark python-nextgen client generator as stable #​15360

Ruby

  • [Ruby] fix RSpec documentation URL #​15164
  • [Ruby] Client: fix base_url when no server_operation_index is defined #​15162

Swift

Xojo


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 becomes conflicted, 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 Renovate Bot.

@stackit-pipeline
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@hcsa73
Copy link
Contributor

hcsa73 commented Sep 22, 2023

This version renames the API clients from "DefaultApiService" to "DefaultAPIService" (see here). It's a SDK breaking change, very minor and should be applied. The templates are updated to reflect this.

This version also introduces a bug where fields "AnyOf" in the OAS aren't being generated correctly. For the resource manager, ContainerResponse.Items is set as a struct that is undefined, and the files that define said struct aren't being generated. A similar issue can be found here.

Until this issue is fixed, the generator can't be updated.

@stackit-pipeline
Copy link
Contributor Author

stackit-pipeline commented Sep 23, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@stackit-pipeline stackit-pipeline deleted the renovate/openapitools-openapi-generator-7.x branch September 23, 2023 01:05
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.

None yet

3 participants