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

latest releases: v7.8.0, v7.7.0, v7.6.0...
9 months ago

v7.2.0 is the last stable release in 2023. 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

  • To fix infinite loop for allOf with single element in normalizer #17426
  • Fix build errors in JDK 21 #17177
  • OpenAPI 3.1.0 Add webhooks support #17174
  • Add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore #17164
  • Add openapi-normalizer rule to set tags to operationId #17161
  • Fix missing objects when defining inline anyOf, or oneOf #17141
  • Update Dockerfile (cli, online) to use eclipse-temurin:17.0.3_7-jre-focal #17139

C

  • [C][Client] Use int* as int or bool type function parameter #17179 Breaking change (with fallback)

C++

  • [cpp-qt-client] pass QString by const reference instead of by value #16793

C#

  • [csharp][generichost] Handle obsolete params and methods #17344
  • [csharp] Do not inherit additional properties #17140
  • [csharp] Disabled GetHashCode generation #17039 Breaking change (with fallback)

Dart

  • [BUG] [dart-dio] Support for Analyzer configuration options changes in Dart 3 #17099

Java

  • [webclient] explode query parameters support #17441
  • Implementing retry logic to restTemplate #17375
  • [JavaSpring] Enable scopes for all security scheme types #17083

JMeter

  • [jmeter] Fix exception when operationId has $ #17125

Kotlin

  • [kotlin-client] New generator: kotlin-jvm-spring-restclient (new library) #17366
  • [kotlin-client][multiplatform] add iosSimulatorArm64 target #17058

Go

  • [go-server] Add ability to handle nullable query parameter #17321
  • [Go] fix validation of property names when a model has required fields and doesn't allow additional properties #17267

PHP

  • Fix PHP constructor docblock #17324
  • Fix parameter names in Configuration #17305
  • Add enum name mapping support to PHP generators #17195
  • [PHP-NG] check if json_decode was able to decode response #17120
  • [PHP-NG] convert data to string before giving it to preg_match #17119

Postman

  • [POSTMAN] Skip escaping request name #17394

PowerShell

  • Use $Response.Content for deserializing response #17342

Python

  • [python] Fix exception in request body with enum ref #17438
  • [python] fix: Annotate free-form object as dict in Python #17082
  • [python][Feat] Deserialize error responses #17038
  • Add socks5 proxy support for OpenAPI generated python client #16918

Ruby

  • Ruby Client for Faraday: fix file downloading #17333
  • [Ruby] Add model name mapping support to ruby client generator #17408

Rust

  • Add enum name mapping feature to the Rust generators #17290
  • include {min|max}Items validation in rust-server models #17201

Scala

  • Add scala-pekko client generator (new generator) #17417
  • [scala-akka-client] Scala Akka client does not support arbitrary query string parameters #17386

Swift

  • Fix swift5 binary upload #17422
  • [Swift5] add enum name mapping option #17297

TypeScript

  • fix(typescript-axios): use baseURL of (custom) axios instance #17296
  • Generalized mime type support #17285
  • [typescript-axios] Upgrade to axios@^1 #14518

Zapier

  • [Zapier] Updated some dependencies #17420
  • [ZAPIER] added required fields to zapier models generation #17115

Don't miss a new openapi-generator release

NewReleases is sending notifications on new releases.