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