Releases: OpenAPITools/openapi-generator
v7.0.0-beta
A list of breaking changes:
- With fallback: https://github.com/OpenAPITools/openapi-generator/pulls?q=is%3Apr+is%3Amerged+milestone%3A7.0.0+label%3A%22Breaking+change+%28with+fallback%29%22
- Without fallback: https://github.com/OpenAPITools/openapi-generator/pulls?q=is%3Apr+is%3Amerged+milestone%3A7.0.0+label%3A%22Breaking+change+%28without+fallback%29%22
What's Changed
- Generate and use enum types in parameters for typescript-axios by @chaayac in #13438
- [swift5] update new minimum OS supported versions by @4brunu in #13667
- [Typescript] Enums generation (7.0.0) by @ksvirkou-hubspot in #14663
- [swift5][client] improve headers order by @4brunu in #14636
- [swift5][client] remove deprecated APIs by @4brunu in #14635
- Added converterFactories property to ApiClient in jvm-retrofit2. by @dylan-kwon in #15008
- [go-server] Change Routes type from
[]Route
tomap[string]Route
by @lwj5 in #15084 - [go-server] Update dependencies and use generics by @lwj5 in #15087
- Improve Go Github workflow by @wing328 in #15200
- [go-server] Fix: name declared and not used by @lwj5 in #15201
- [kotlin][client] Use Kotlin code style in parameter enum class names by @WonderCsabo in #15447
- [typescript] Add missing types field to export declaration by @bodograumann in #15403
- [csharp-netcore][generichost] Moved deserialization logic to template by @devhl-labs in #15474
- [JAVA] fix "text/plain" with charset specification by @martin-mfg in #15399
- Encode a
Set
intoJson()
properly by @noordawod in #15435 - Decommission python-legacy, python-prior client generators by @wing328 in #15475
- Correct name of script in PULL_REQUEST_TEMPLATE.md by @gcatanese in #15480
- [Go] Update API naming to follow Golang standard pkg (1 line change) by @lwj5 in #15331
- [csharp-netcore][generichost] Fixed the order to match the constructor by @devhl-labs in #15500
- Decommission python client generator by @wing328 in #15486
- [csharp] Changed enums to start from 0 by @devhl-labs in #15503
- Fix Go client tests by @wing328 in #15505
- [kotlin-spring] interfaceOnly=true flag skips spring-boot plugin repackage goal by @zaenk in #15495
- [Spring] remove deprecated annotation from no-args constructor (fix #15478) by @borsch in #15512
- import @Valid in Spring delegates by @martin-mfg in #15330
- Rename python-nextgen to python by @wing328 in #15504
- [xojo] rename private method to avoid confusion by @wing328 in #15508
- [openapi-normalizer] enable some rules by default by @wing328 in #15501
- [csharp-netcore] Zero based inner enum sample by @devhl-labs in #15506
- [csharp-netcore] Removed extra line break by @devhl-labs in #15507
- [asciidoc] Set toc level to 4 by @jvmlet in #15481
- Fix JsonNullable issue for Helidon generators by @aserkes in #15423
- Bugfixes/12952 fix newtonsoft using by @JFCote in #15515
- Minor enhancements to the aspnetcore server generator by @wing328 in #15518
- [javascript] fix use of isBasicBasic and isBasicBearer conditions by @tiffmaelite in #15522
- [C++][Pistache] Generate empty JSON object instead of a null value by @sjoubert in #15468
- [C++][Pistache] Add missing 'override' on virtual methods by @sjoubert in #15469
- Update modelbase-header.mustache by @SuperGNUS in #15453
- [Spring] fix use of isBasic condition by @tiffmaelite in #15530
- Fix warning when building because of the missing documentation by @JFCote in #15543
- add HTTP signature to SecurityFeature by @tiffmaelite in #15542
- add missing security schemes to new generator README template by @tiffmaelite in #15536
- Postman Collection Generator by @gcatanese in #15294
- Fix the bug that the property generateApis always true by @iWantUss in #14126
- [csharp-netcore] Updated package versions by @devhl-labs in #15173
- [Gradle] add
inputSpecRootDirectory
for generate task by @borsch in #15548 - [dart][dio] fix features of dart-dio generator by @tiffmaelite in #15537
- [Aspnetcore] Fix nullable warnings part 1 by @JFCote in #15555
- [csharp-netcore][generichost] Added OrDefault method by @devhl-labs in #15551
- Fix incorrect generic type in go-server codegen template by @dimavt in #15557
- Add workflow to test builds and Gradle plugin on Windows by @wing328 in #15562
- [go-server] Add tests for boolean query parameter by @wing328 in #15563
- [kotlin-server] fix bean validation site targets by @stephan-strate in #14997
- Improve build time by @wing328 in #15566
- [kotlin-spring] Fix inheritance compile error because of missing use-… by @superbob in #15488
- [lua] fix use of isBasic condition by @tiffmaelite in #15529
- [xojo] fix use of isBasic condition by @tiffmaelite in #15526
- [eiffel] fix use of isBasic condition by @tiffmaelite in #15533
- [android] fix use of isBasic condition by @tiffmaelite in #15528
- [powershell] fix use of isBasic condition by @tiffmaelite in #15525
- [PHP] fix use of isBasic condition by @tiffmaelite in #15520
- [perl] fix use of isBasic condition by @tiffmaelite in #15524
- [bash] fix use of isBasic condition by @tiffmaelite in #15521
- [Ada] [Java] fix Codegen copies by @tiffmaelite in #15513
- [cpp C++] fix use of isBasic condition by @tiffmaelite in #15535
- [Kotlin] Fixed additional property omitGradleWrapper for kotlin generator by @stefankoppier in #15584
- Improve Appveyor tests by @wing328 in #15585
- Revert "Fix the bug that the property generateApis always true" by @wing328 in #15588
- Update to JDK11 by @wing328 in #15553
- Update pom.xml with new plugin, setting by @wing328 in #15590
- [Ktor] Update generator to latest Ktor version #14061 by @rsinukov in #14296
- Set maven to 3.9 in Github workflow by @wing328 in #15592
- [csharp-netcore][generichost] Used default cancellation token by @devhl-labs in #15594
- [java] remove fullJavaUtil option by @martin-mfg in #15033
- [dart] fix use of isBasic condition by @tiffmaelite in #15523
- [Java] [Kotlin...
v6.6.0
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
Elm
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
- [php-nextgen] Add @generated tag to DocBlocks #15106
- [php-nextgen] Rename folders to follow PDS skeleton #15102
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
- Using @objcMembers to expose all properties and functions to ObjC #15188
Xojo
- Add Xojo client generator #15194
v6.5.0
v6.5.0 release comes with many bug fixes and enhancements such as several new rules in OpenAPI Normalizer
There's one breaking change with fallback: [Java][Spring] option whether to generate required args constructor #14941
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 isOverridden, update Java pojo with setter for parent properties #15051
- Add new openapi-normalizer rule REFACTOR_ALLOF_WITH_PROPERTIES_ONLY #15039
- Better allOf handling in fromProperty #15035
- Do not add schema / class name mapping where custom mapping exists #14984
- [OpenAPI Normalizer] update SIMPLIFY_ONEOF_ANYOF to convert enum of null to nullable #14898
- Add new openapi-normalizer rule: ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE #14891
- Better support of inline allOf/anyOf/oneOf schemas #14887
- [openapi-normalizer] add a new rule to set tags for all operations #14794
- Add rule to simplify oneOf/anyOf #14777
- Add rule to simplify boolean enum #14764
- [openapi-generator-online] Revert spring boot back to 2.5.14 #14755
C#
- [csharp-netcore] Better handling of form parameters #15040
- [csharp-netcore] Moved null checks from constructor to JsonConverter #14980
- Decommission csharp-dotnet2 client generator #14911
- [csharp-netcore] add options dateFormat, dateTimeFormat to customize the format #14894
- [csharp-netcore] Add unsigned integer/long support #14885
- [v2] (RFC) Csharp netcore generator supports UnityWebRequest library #14870
C++
- [C++][Pistache] Add some missing {{declspec}} on classes and functions #14808
- [Bug][C++-cpprest] Encode request parameters to enable whitespace characters #14797
Erlang
- [erlang-client] fix URL paths #14988
- [erlang-client] Fix url path generation being passed to hackney_url #14821
Go
- [GO] [REQ] Enable bearer security schema for Go client #14957
Java
- [JAVA][NATIVE] Fix NPE for form values request builder #15036
- Added Micronaut configuration points #15005
- [java] fix optional array property's default value #14961
- [spring] fix default value for nullable containers #14959
JavaScript
- [JS] Update optional parameters in jsdoc #15032
K6
- [K6] Enhancement: Make operationId accessible inside requests #14787
Kotlin
- [Kotlin-Spring] Remove wildcard imports from mustache templates #14899
PHP
Python
- [python-nextgen] use
__fields_set__
to determine if the field is needed in to_dict #15086
Rust
- [RUST] Upgrade reqwest-middleware #14819
- [Bug][Rust] fix: removes replacement which makes x-tag-name incompatible with spec #14746
- [rust-server] Fix clippy warnings #13907
Swift
- [swift5] fix modelNamePrefix and -suffix for reserved types #14768
- [swift5][client] improve headers order #14636
TypeScript
v6.4.0 released
v6.4.0 released with bug fixes and enhancements. As usual we appreciate the contributions from the OpenAPI Generator community.
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
- fix: Inline model schema's name is wrong #14687
- Add 'endsWith' handlebars helper function #1463
- Preserve order of securitySchemes #14536
C#
- [csharp-netcore] Use scheme from base address #14685
- [csharp-netcore] Fixed format of Date serialization #14616
Dart
- [dart][dart-dio] Add deprecations on models and fields #14676
- [dart][dart-dio] Bump Dio to 5.0.0 #14675
Go
- [Bug][Go] consider allOf schemas for rendering string default vaules #14684
- [Go] properly set header parameters on api clients #14637
Java
- [BUG][JAVA][SPRING] Fix serialization when there is a discriminator with mapping #14733
- Fix toUrlQuery string method in anyOf models in java native client #14715
- [Java] fix default value for JsonNullable #14703
- [Fix] take numeric types into account for array defaults #14694
- [java][apache-httpclient] update httpclient dependency to the latest 5.x #14673
- [Java/Microprofile] Add support for Jackson serialization & async #11554
JavaScript
- [JAVASCRIPT] Fix inconsistent validateJSON and validateJsonObject calls, breaking object validation #14720
Kotlin
- ktor-client add toString() for generic params #14717
Python
- [python-fastapi] update starlette to newer version #14700
- [python-nextgen] better datetime support in parameters #14621
- [python-nextgen] optionally support float strict type #14618
R
- R] Fix escaping in templates #14572
Ruby
- Set proxy in ruby faraday client if configured #14597
Rust
- [rust] Fix content-type in templates #14702
v6.3.0 released
v6.3.0 is a minor release, which contains breaking changes with fallback. As always we appreciate the contributions from the community.
We've added 4 new generators:
- Added Julia client and server generators #14520
- Add a new Python client generator - python-nextgen #14157
- Add a new jetbrains http client generator #14477
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 OpenAPI Normalizer #14172
- Add a rule to keep only the first tag Enhancement: General OpenAPI Normalizer #14465
- Add isEnumRef, isEnumOrRef to CodegenProperty #13880
- Update project dependencies - root, openapi-generator #13881
- Use Gradle 7.6 to build Gradle plugin #13860
- Nullable subschemas #13850
- Cleanup outputDir before openApiGenerate (Gradle plugin) #13659
C
- [C][Client] Allow cJSON_IsNull() for a string if it is not mandatory #14332
- [C][Client] Always send integer or boolean query parameters to the API server #14019
C#
- [csharp-netcore] Added isNew property to CodegenProperty #14412
- [csharp-netcore] Removed net5, added net7 #14003
C++
- [cpp-qt-client] Fix warnings #14056
Crystal
- [Crystal] Skip primitive types from ModelImportMap #14436
Dart
- [dart-dio] Fix non legacy discriminator behavior #14291
Go
- [Go] Adds a sha256 configuration option to hs2019 #14467
- [Go] Client Models using AllOf, OneOf, or AnyOf Correctly Include time and os imports #14459
- [Go] [Client] Don't Explode Query Params #14447
Haskell
- [haskell][server] Include response headers in the API type #13565
Java
- [java][native] Fix urlQuery string method in oneOf #14488
- [Java][native][apache-httpclient] Update toUrlQueryString to support form style for object #14478
- [Java][Spring] fix ParameterObject import for Spring Boot 3 #14454
- [java][microprofile] implement useRuntimeException #14414
- [Java][Spring] Fix #14398 springboot 3 schema required #14402
- Add deepObject query string support in Java native client #14378
- [Micronaut] Improving micronaut-model and micronaut-client generation #14065
- Add Spring 6 HTTP interfaces #14485
JavaScript
- [JavaScript] fix boolean in oneOf, add tests #14380
Kotlin
- [kotlin][client] add info if endpoints requires authentication or not #14445
- [KOTLIN] feat: adds maven-publish to 'kotlin' client generator #14344
PHP
- [PHP] \GuzzleHttp\json_encode is deprecated, use \GuzzleHttp\Utils::jsonEncode instead #14323
- [PHP] better PHP symfony test #14117
- [#13998][Bug][PHP] Move isNullable section to the top of the setter function in templates #14005
Python
- [python] Fixes Response TypeError #14299
- Add a new Python client generator - python-nextgen #14157
- [python] Fixes Configuration w/ access_token at initialization #14153
- [python] fixes addProps sometimes breaks #14102
- [python] exposes deserialized bodies for non-2XX responses #14095
- [python] Issue 13997 fix pass in model instances to new #14067
- [python] fixes bug where v2 specs generate clients when they should not #13996
- [python] fixes enum naming bug #13985
Ruby
- [ruby] Fix api_error.mustache to initialize message-only errors properly #14264
- Enable access token refresh #14251
- Update Ruby minimum version to 2.7 #14002
Rust
- [rust] Fix declaration for arrays with object and array references #14198
Swift
TypeScript
v6.2.1 released
v6.2.1 is a patch release with 140+ commits including bug fixes and enhancements for 10+ programming languages. kotlin
client generator now also supports Vert.x library. As always we appreciate the contributions from the community.
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
- Update dependencies for CVE #13834
C#
- [csharp-netcore] Allowing user to set client package #13785
- [csharp] Fixed data type for maps of maps #13701
Crystal
Elixir
- Elixir: Improve generated API options docs #13478
Elm
- [elm] add function to allow more fine grained error handling #13773
Go
- [GO] fix: stops checking for nil for structs #13843
- [go-echo-server] update echo to newer version #13732
JavaScript
- [JavaScript] add oneOf support #13561
Java
- [Java][okhttp-gson] Minor improvements #13864
- Java jersey OAuth2 add support for public client #13828
- [JAVA] [NATIVE] Fix exploded query parameters with array property #13656
- Spring request mapping mode #13838
- [Java][jaxrs-spec] Make contextPath template parameter available as a string constant for use in @ApplicationPath #13377
Kotlin
PHP
- [PHP] handle properly multiple accept headers #13844
- [PHP] Allow selecting Content-Type #13769
- [PHP-Symfony] Encourage Symfony 5 bundle directory structure best practices #13014
Python
- [python] fixes required prop in composed schema, prop not in properties, addProps unset #13819
- [python] Fixes endpoint overload type hint + required property not in properties #13790
- [python] Fixes bugs #13581
- [python] fix for issue #13722: send body for application/x-www-form-urlencoded data #13723
R
- Better error handling in the R client #13800
Rust
- [rust] [rust-server] More abstract functions including integer fitting #13503
- [rust] Fix generation for optional and nullable fields (double option pattern) #13177
Swift
v6.2.0 released
v6.2.0 is a minor release with one important breaking change (with fallback). The python
generator has been refactored (replaced with python-experimental
) with breaking changes. Please give it a try and let us know if you've any feedback.
Given that python-experimental contains breaking changes, users can fallback to python-prior
after this PR if they prefer not to upgrade at the moment for whatever reasons.
After the PR, the future development of python (which follows a JSON schema focused design) will be moved to a new project named "openapi-json-schema-generator" under https://github.com/openapi-json-schema-tools. If you've any questions, feedback or issues, please open a ticket. Anyone wants to contribute a client/server generator with a focus on JSON schema should contribute to "openapi-json-schema-generator".
At the same time, @wing328 is leading an effort to create a new Python client generator based on the design of other popular clients in this project such as Java, C#, PHP, Ruby and more to make the overall developer experience more consistent. The goal is to have the new Python client generator replacing/sunsetting all existing python client generators in the openapi-generator project at the moment for easier maintenance.
Python
- Switches python-experimental in as the primary python client #13501
- [python-experimental] removes enum cls factory #13491
- [python-experimental] reduces python version to 3.7 #13481
- [python-experimental] improves documentation #13477
- [python-experimental] Fix error message #13471
- [python-experimental] simplifies type checking #13437
- [python-experimental] adds more base class mixins, preparation for v3.1.0 type arrays #13436
- [python-experimental] Enhance octet-stream deserialize #13402
- Adds IJsonSchemaValidationProperties format getter and setter +uses the format info #13360
For a full list of changes, please refer to the "Pull Request" tab.
v6.1.0 released
v6.1.0, which contains breaking changes with fallback, includes 280+ PRs covering 20+ programming languages from the community.
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
- Update jackson-databind to newer version #13391
- Adds $ref data to schema classes #13163
- Allow override CodegenConfigurator in GenerateTask in OpenAPI Generator Gradle Plugin #13140
- Fixes fromProperty so it retrieves the correct instance depending upon if the property is required or not 12858
- Adds getIsBooleanSchemaTrue/getIsBooleanSchemaFalse to store is a schema was defined as boolean schema true or false 13341
- Adds requiredVarsMap to store required vars even if those variables do not exist in properties or if additionalProperties is false 13117
Avro
- Avro fix arrays with items as a ref to defined enum #13162
C
- [C][Client] Treat "null" as a valid value for a field of a JSON map #13352
C#
- [csharp-netcore] To support Secret API key input as string #13276
- Added support for inheritance in Swashbuckle in ASP.NET Core #12856
C++
- [cpp-ue4] Support UE5 version of FTickerObjectBase #13304
- [cpp-pistache-server] Fix enum generation for mode useStructModel=true #13249
Dart
- Make "applyToParams" a Future + add "this." when decoding JSON #13120
Go
- [Go] Fix missing import for array/map of file #13143
HTML
- Fix syntax error in generated html #13293
Java
- fix: ensure Resteasy JAX-RS Response object closed #13333
- [jaxrs-spec] fix default values for array #13076
- [Java] apache-httpclient serialize support custom contentType #13058
JavaScript
- Combine javascript and javascript-apollo generators #13270
k6
- Better handling of NPE in k6 client generator #13236
Kotlin
- Fix generation of default array values for kotlin client #13243
Perl
- Fix Perl cannot string bind undef #13114
PHP
PowerShell
- [powershell] cache model name for faster lookup #12917
ProtoBuf
- Fix protobuf variable name #13296
Python
- [python-experimental] adds and uses regex patterns for json + filename detection 13357
- [python-experimental] refactoring and type hint additions/improvements. instance["someProp"] type hints added
- [python-experimental] verifies 11434 was fixed with test 13358
- [python-experimental] improves json content-type detection 13356
- [python-experimental] improves additionalProperties processing 13347
- [python-experimental] adds endpoint generation by paths, eliminates duplicate endpoint generation 13007
- [python-experimental] adds auto generated endpoint tests of serialization/deserialization 12875 13323 12988
- [python-experimental] handles use case where tag exists on endpoint but does not exist in the spec tags section 13054
- [python-experimental] improves docs, adds migration guide 13210
- fix deepcopy for allOf schemas 13130
R
Ruby
- [Ruby] add useAutoload option to use autoload instead of require #13153
Rust
- [rust] [rust-server] Add AbstractRustCodegen (breaking changes with fallback) #13231
- Cleaned up cargo clippy warnings #13011
Scala
- [scala][sttp] fix enum generation for inline-enum of array #13250
Swift
- [swift5] distinguish (un-)authenticated requests #13321
TypeScript
- [typescript-nestjs] Upgrade to NestJS v8 (Breaking change with fallback) #12937
v6.0.1 released
v6.0.1 is a patch release with enhancements, bug fixes covering 20 programming languages. As always, we appreciate the contributions from the awesome OpenAPI Generator community.
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
- Idea plugin for marking source directories, and omitting gradle wrapper #12711
- Fix bugs in camelcase lambda, add tests for pascalcase #12639
- Add new option to customize inline model naming convention #12562
- Adds the ability to process and use model test cases, uses it in a new v3.0.3 unit test spec #12619
C
- [C][Client] Set the default value for the null json #12620
- [C][Client] Support free-form objects #12557
C#
- [csharp-netcore] fix: url escaping #12739
- [csharp-netcore] Add support for ComVisible, CLSCompliant attributes #12733
- Fix NPE when generating examples for parameter (object) #12538
C++
- [BUG] [CPP-UE4] Fix codegen for nested container types #12747
- [cpp-qt-client] Add support for AnyType objects #12642
Crystal
- [crystal][client] Skip generating operation examples when flag is set #12539
Dart
- [Dart][Client] Support parsing DateTime #12433
Documentation
- [html2] added recursion for nested objects #12428
Elixir
- Improved Elixir Code Generation #12751
Elm
- Fix for invalid elm code for paths containing UUIDs #12506
Go
- [Go] use EqualFold instead instead of comparing strings in lower case #12741
GraphQL
- Graphql nodejs express server lists fixup #12476
Haskell
- [haskell-http-client] relax Aeson constraint to allow Aeson 1 #12486
Java
- Update jackson databind to 2.12.6.1 #12698
- [Java] Update jackson-databind-nullable to 0.2.3 #12693
- [Java] Update RESTEasy lib to newer version #12688
- Fix HTML-escaped token and authorization URLs in Java libraries #12677
- [java][okhttp-gson] Keep AST small when using builder #12610
- [Spring] Fix cookies in parameters are always generated as required #12599
Kotlin
- [Kotlin][Client] replace java.nio.* to avoid crash on Android API 25 and bellow #12529
- [Kotlin] fix invalid code when allOf is used #12594
OCaml
- [OCaml] Code generation fixes #12395
PHP
- [PHP] Enhance Symfony generator #12532
- [php] fix @implements annotations in PHP client #11908
PowerShel
- [PowerShell] support enum integers #12752
Python
- Fixes double serialization bug in python-experimental #12561
- Adds sample client for v3.0.3 unit test spec including autogenerated model tests, test run in CI #12619
- Fixes GetItem not working for Client generated allOf model and broken since 5.2.0 #12239
- Use print() function in both Python 2 and Python 3 #12467
Rust
- Fixes double 'String' on string & UUID type #12409
R
- [R] Add toString method to oneOf/anyOf objects #12727
- [R] Fix nested oneOf/anyOf #12723
- [R] fix deserialization for models with special item names #12658
Swift
- [swift5] Make it possible to opt out of JSONEncodable conformance #12664
TypeScript
v6.0.0 released
We're happy to announce the release of v6.0.0 - a major release with lots of enhancements and bug fixes. 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:
For a list of generators/frameworks that have been deprecated/decommission, please refer to this list
General
- [Inline model resolver] Better support for inline schemas in parameters #12369
- [Inline model resolver] better handling of inline responses and bug fixes #12353
- [Inline model resolver] Fix inline allOf in request body #12348
- [Inline model resolver] various improvements #12293
- [Inline model resolver] Better inline model resolver to handle inline schema in array item #12104
- Use LinkedHashMap for deterministic iteration order #12230
- Configure apiNameSuffix via maven/gradle plugins #12062
- fix: respect configured generator URL in swagger config #12064
- Process additionalProperties: true as arbitrary type instead of object #11802
Ada
- [Ada] Fix typo in final Info message #11914
Android
- [Android] only support JDK8+ #11917
C
- [C][Client] Eliminate compiler warnings #12260
- [C][Client] Free list or map memory when json parsing fails #11866
C#
- [aspnetcore] Include appsettings.Development.json #12217
- [csharp-netcore] Add support for byte[] response deserialization #12188
- [csharp-netcore] Composed primitives support in generichost #11924
- [csharp-netcore] Fix incorrect FileParameter deserialization #11850
C++
- [cpp-qt][client] add support for primitives types body #12301
- [cpp-rest] better handling of property name with special characters #12288
- [C++][Pistache] Add support for validating arrays, use full namespace type with custom types #12221
- [cpp-restsdk] Change build folder structure to match include folder structure in installed client #11487
Documentation
- Add - Status colors in Wiki, Example per parameter #12394
- Confluence Wiki - Escape special characters #11786
Dart
Elixir
- Allow the baseUrl of elixir APIs to be overridden #12268
Go
- [GO] Fix exception in constructExampleCode with oneOf primitive type #12362
- [Go] fix oneOf naming #11863
Haskell
- [haskell-http-client] Update haskell-http-client generator to Aeson 2.x #12309
- Upgrade haskell-servant to latest LTS #12092
Java
- [java-micronaut] Allow default implementation to return HTTP 501 #12365
- Playframework oauth small upgrade #12332
- [java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders #12327
- [Micronaut] Improvements for Server and Client #12297
- [java] Add jersey3 support to the Java client #12046
- Upgrade to Spring Boot 2.6.6/2.5.12 and Spring Cloud 2021.0.1 #12027
- [java][jersey2] update junit from 4.x to 5.x (major upgrade) #11898
- [java native] Support arrays in QueryParameters deepObject style #11699
- Remove JDK7 support from Java Spring generators #11561
JavaScript
- [JS] Remove ES5 support #12033
Kotlin
- [BUG][Kotlin-client] Handling default values of parameters #12255
- [kotlin-server][jaxrs-spec] Remove obsolete imports from API template #11899
- [kotlin][spring] Rename extension to conform to kebab-case #1189
- Remove JDK 6, 7 supports in kotlin templates #11560
Perl
- Fix Perl client header params #11713
PHP
- [php] Bump required PHP version to 7.4 #12359
- [php-slim4] Add minimal GitHub Action config #11874
- [PHP] Fix deprecations in PHP 8.1 #11743
- [php-slim4] Add lazy CORS implementation #11941
Python
- [python-experimental] fixes delete endpoint with no body use case #12287
- [python-flask] Fix mypy error type annotation needed #12272
- Fix issue with fastapi generator converting all fields to snake_case #12261
PowerShell
- [PowerShell] better enum model support #12082
Protobuf
- [Protobuf-Schema] Add enum prefix #11548
R
- [R] Use snake_case in method parameter names #12390 Breaking change (without fallback)
- [R] update .Rbuildignore with more files/directories #12383
- [R] fix warnings in DESCRIPTION #12380
Ruby
- [Ruby] Add support for faraday 2.x #12112
Rust
Scala
- [Scala][sttp] various bug fixes #12254
- [scala-akka-http-server] model default value when field is not required #12068
Swift
- [swift5] Abstract away URLSession #12110
TypeScript
- [typescript-fetch] Support Sets in query parameters (when uniqueItems=true) #12318
- [typescript*] drop support typescript below 4.0 #12123
wsdl
- [Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) #12206