chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.2.0 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
org.openapitools:openapi-generator-maven-plugin |
6.0.0 -> 6.2.0
|
Release Notes
openapitools/openapi-generator
v6.2.0
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 MR if they prefer not to upgrade at the moment for whatever reasons.
After the MR, 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 https://github.com/OpenAPITools/openapi-generator/pull/13501
- [python-experimental] removes enum cls factory https://github.com/OpenAPITools/openapi-generator/pull/13491
- [python-experimental] reduces python version to 3.7 https://github.com/OpenAPITools/openapi-generator/pull/13481
- [python-experimental] improves documentation https://github.com/OpenAPITools/openapi-generator/pull/13477
- [python-experimental] Fix error message https://github.com/OpenAPITools/openapi-generator/pull/13471
- [python-experimental] simplifies type checking https://github.com/OpenAPITools/openapi-generator/pull/13437
- [python-experimental] adds more base class mixins, preparation for v3.1.0 type arrays https://github.com/OpenAPITools/openapi-generator/pull/13436
- [python-experimental] Enhance octet-stream deserialize https://github.com/OpenAPITools/openapi-generator/pull/13402
- Adds IJsonSchemaValidationProperties format getter and setter +uses the format info https://github.com/OpenAPITools/openapi-generator/pull/13360
For a full list of changes, please refer to the "Merge Request" tab.
v6.1.0
v6.1.0, which contains breaking changes with fallback, includes 280+ MRs 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 "Merge 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
- [PHP] double curly braces bugfix #12999
- [PHP] Add support for server variables in operations #12982
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
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 "Merge 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
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.