github OpenAPITools/openapi-generator v7.8.0
v7.8.0 released

latest release: v7.9.0
2 months ago

v7.8.0 stable release comes with ~150 enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

This release comes with 2 breaking changes (with fallback) listed below.

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

General

  • Added support for openapi-normalizer in the online version #19336
  • processing schema name is added to the list with names checked at recursing processing #19221
  • Fix mistype in InlineModelResolver leads to autogenerated class name instead of specified by title #19173
  • Speed up docker re-builds using mvn dependency:go-offline #19078

C#

  • [csharp][generichost] Changed default sorting of samples #19335
  • [csharp][generichost] Support response ranges #19256
  • [csharp] Use global keyword #19257
  • [csharp] Add scope for oauth2 #19234
  • [csharp] fix Task.Result directly blocks thread #19231
  • [ASPNETCORE] Fix having two "?" when not required and nullable = true #19062
  • Support net8 in aspnetcore #19051
  • [csharp] Change sorting default Breaking change (with fallback) #1894

C++

  • [C++][Pistache] Fix 'unused-parameter' warning on Helpers.h file #19315
  • [C++][Pistache] Add error handlers overload taking the response object #19314
  • [cpp-qt] Add option for download progress, add test #19297

Dart

  • fix invalid syntax in gitignore #19341
  • [dart-dio] fix JsonObject missing on a generated code #19130

Elixir

  • [Elixir] allow custom packageVersion #19151

Go

  • Better handling of backtick in pattern #19358
  • [Go] Set Default Values for Required Variables when a default is defined #19232

Haskell

  • Add bytestring package to dependencies of generated haskell code #19101

Java

  • [JAVA] use query parameter apikey if present #19334
  • [JAVA] okhttp-gson client codegen ambiguous references for a component schema "Type" #19328
  • Minor change to Helidon version handling allowing snapshot versions #19320
  • [Java] Update ApiClient.mustache for retrofit2 + rxJava3 #19266
  • [JAVA-CAMEL] revert broken xml change #19259
  • Support Helidon SE 4 generation (clients and servers) #19150
  • [okhttp-gson] migrate to jakarta.ws.rs #19113
  • Remove thread unsafe statusCode and responseHeaders instance variables from apache http ApiClient #19054

Julia

  • [julia] Add support for style, explode in query params #19238

k6

  • [k6] Add authentication variables in headers and cookies #19060

Kotlin

  • [kotlin-client][jackson] Add missing @JsonEnumDefaultValue annotation to top-level enums #19380
  • [bugfix][kotlin-wiremock] fix problems with range responses #19309
  • [Kotlin] Update formParams.mustache to have List of MultipartBody.Part #19287
  • [Kotlin][Spring] fix flag appendRequestToHandler with delegatePattern #19206
  • adds support for x-pattern-message in kotlin-spring generator #19134

PHP

  • [BUG] PHP Client - ObjectSerializer::buildQuery flattens array params resulting invalid URL params (param=a&param=b vs param[]=a&param[]=b) #19236
  • php: Fix typedoc comment for headers in ApiException #19217
  • feat(php-nextgen-client): add support for streaming #19192

PowerShell

  • [PowerShell] Fix missing Content-Type header on a 204 response #19340
  • [PowerShell] Fix response type on deserialization #19331
  • [PowerShell][Bug] Fix issue #18428 - [System.IO.FileInfo] object used in multipart/form-data submission does not support relative paths #19269
  • [PowerShell] Support ApiKeyPrefix #19133

Python

  • python-asyncio: update retry factors for actual exponential retries 19337
  • [Python] fix object arrays giving mypy error "Incompatible types in assignment" in to_dict() #19223
  • Adding decimal support for python client generation #19203
  • [python-fastapi] Fix api endpoint template #19139

Ruby

  • [Ruby] Fix Content-Transfer-Encoding binary unpacking #19132
  • [Ruby] Allow Overriding Accept Header #19106

Rust

  • Make the rust hyper client Send so it can be used in rust threads more easily #19375
  • [Rust Server] Allow configuration of multipart/form attachment size limit #19371
  • [Rust Server] Sort operations so that the ones with fewest params come first #19368
  • [Rust Server] Improve RFC 13341 compliance for multipart/related #19355
  • Rust: Support Integer enums using Serde_repr #19199
  • Upgrade rust-hyper to use hyper 1.0 Breaking change (with fallback) #19115

Swift

  • [swift5]Add array validation rule #19242

TypeScript

  • feat(typescript-angular): add support for Angular V18.1 #19228
  • [typescript-fetch] Fix code generation for oneOf cases without discriminator #19219
  • [FIX][typescript-fetch] Fix duplicate imports for models with a discriminator #19195

Don't miss a new openapi-generator release

NewReleases is sending notifications on new releases.