github OpenAPITools/openapi-generator v5.3.0
v5.3.0 released

latest releases: v7.9.0, v7.8.0, v7.7.0...
3 years ago

v5.3.0 comes with many bug fixes and enhancements with breaking changes (with fallbacks). Almost 240 PRs (covered more than 20 programming languages) contributed by the OpenAPI Generator community. Thank you.

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

  • Add snake case lambda #10658
  • Add try-with-resources to unclosed streams #10641
  • Improve version management, update dependencies, remove unused dependencies #10544
  • Fix Windows build failure in some environments #10529
  • Updated model generation, addProps handling moved into type object and anyType handling #10505

Bash

  • Changing from scriptName to x-codegen-script-name to fix dockerfile #10594

C

  • Libcurl CMake adaptations #10249

C#

  • Fix compilation issues in the CSharpOperationTest class #10574
  • [csharp-netcore]For conditionalSerialization do not initialize the default value. #10551

C++

  • [cpp-rest-sdk-client] Serialize boolean parameters as true/false instead of 1/0 #10554
  • [cpp][qt] Start cleanup of cpp qt readme #10549
  • Improve templates for C++ Restbed #10543
  • [cpprestsdk] fix string conversion, add integer enum support #10531

Crystal

  • [crystal] Fix some issues in crystal client templates #10629

Dart

  • Dart: mark jaguar for deprecation #10533
  • [dart] json_serializable: remove experimental generator #10532
  • [dart][dio] Respect import-mappings parameter #10528
  • [dart-dio-next] Adds an option for using the dio_http package Client: Dart Enhancement: Feature #10497

Elm

  • [elm] fix for invalid code being generated for enums #10328
  • [bugfix][Elm] Fix template when response schema is Map #10310

Go

  • [go]: fix anyOf compilation error #10431
  • [go-server] Fix: param names clash with variables, added suffix #10243

Haskell

  • [haskell-http-client] add ability to choose additional characters in querystring which should not be encoded (e.g. "+" or ":") #10424

HTML

  • Updated the HTML2 Doc Curl Examples to provide sample Request Body & Query Param examples #10323

Java

  • [java][jersey2] update dependencies #10659
  • Improve Apache Httpclient support #10624
  • [Java][Feign] Add http status to feign result #10583
  • [Java][RestTemplate] Fix RestTemplate not handling ApiKey in cookie #10578
  • [java][jersey2] use implementation, add min version of maven, gradle in the README #10571
  • [java] Update Gradle to 7.2 #10538

K6

  • [ K6 Generator ] Support for extracting examples defined at parameter level of Swagger/OpenAPI specification, plus minor fixes #9750

Kotlin

  • Fix kotlin enum default value #10592
  • Kotlin multiplatform updated to fit future Kotlin 1.6.0 release #10468

PHP

  • [PHP] Update GuzzleHttp version to 7 #10585
  • [php] fix 'mixed' invalid for settype() #10576
  • [php-slim4] Migrate PHPUnit config #10230

PowerShell

  • Add decimal support to the powershell generator #10486

Python

  • [Python] fixes setitem throwing an error for composed instance #10197
  • Python client - fixes boolean enum use case #9926

R

  • Add decimal support to R client generator #10487

Ruby

  • Ruby: Fix deprecation warning for Faraday #10559
  • [REQ] [RUBY] [FARADAY] Allow middleware to be configured #10495

Rust

  • Fixes doubles type as &str&str for type:string; format:uuid parameter #10569

Scala

  • fix: don't send just " " in body, send an empty string #10561

Swift

  • [swift5][client] add support for async await #10442

TypeScript

  • [typescript-axios] Update to Axios 0.23.0 #10626
  • fix(NestJS): use correct typing for default headers #10616
  • [typescript-axios] Fix invalid query params usage #10512

WSDL

  • [wsdl] string comparison bug fix, minor format change #10446
  • [Wsdl] Handle schema property of type array with oneOf items and other minor updates/fixes #10434

Don't miss a new openapi-generator release

NewReleases is sending notifications on new releases.