From 1983815a621b114f748c26b2459451b3cec7fd67 Mon Sep 17 00:00:00 2001 From: Roman Laptev Date: Mon, 30 Sep 2024 10:57:03 +0300 Subject: [PATCH] 1.19.1 --- swagger_parser/CHANGELOG.md | 4 ++++ swagger_parser/README.md | 4 ++-- swagger_parser/example/pubspec.yaml | 6 +++--- swagger_parser/pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/swagger_parser/CHANGELOG.md b/swagger_parser/CHANGELOG.md index fb32f1fd..859e7f4b 100644 --- a/swagger_parser/CHANGELOG.md +++ b/swagger_parser/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.19.1 +- Fix generation with `anyOf`, `oneOf` and `allOf` properties + ## 1.19.0 - Add version getter to root client: ```dart @@ -20,6 +23,7 @@ final version = RestClient.version; - Some fixes for the replacement rules - Support for nullable lists and maps - Remove config parameter `required_by_default`, behaviour is now consistent `required_by_default: false` +- Requires Dart 3.4 ## 1.17.3 diff --git a/swagger_parser/README.md b/swagger_parser/README.md index bad1f1c6..f7913eb7 100644 --- a/swagger_parser/README.md +++ b/swagger_parser/README.md @@ -33,7 +33,7 @@ dependencies: # dio: ^5.7.0 # freezed_annotation: ^2.4.4 # for freezed # json_annotation: ^4.9.0 - # retrofit: ^4.4.0 + # retrofit: ^4.4.1 dev_dependencies: # build_runner: ^2.4.12 @@ -41,7 +41,7 @@ dev_dependencies: # dart_mappable_builder: ^4.2.3 # for dart_mappable # freezed: ^2.5.7 # for freezed # json_serializable: ^6.8.0 - # retrofit_generator: ^9.0.0 + # retrofit_generator: ^9.1.2 swagger_parser: ``` diff --git a/swagger_parser/example/pubspec.yaml b/swagger_parser/example/pubspec.yaml index 915f2b41..d1683cba 100644 --- a/swagger_parser/example/pubspec.yaml +++ b/swagger_parser/example/pubspec.yaml @@ -6,10 +6,10 @@ environment: dependencies: dart_mappable: ^4.2.2 - dio: ^5.6.0 + dio: ^5.7.0 freezed_annotation: ^2.4.4 json_annotation: ^4.9.0 - retrofit: ^4.2.0 + retrofit: ^4.4.1 dev_dependencies: build_runner: ^2.4.12 @@ -17,7 +17,7 @@ dev_dependencies: dart_mappable_builder: ^4.2.3 freezed: ^2.5.7 json_serializable: ^6.8.0 - retrofit_generator: ^8.2.0 + retrofit_generator: ^9.1.2 swagger_parser: path: ../ diff --git a/swagger_parser/pubspec.yaml b/swagger_parser/pubspec.yaml index 33339991..69874242 100644 --- a/swagger_parser/pubspec.yaml +++ b/swagger_parser/pubspec.yaml @@ -1,6 +1,6 @@ name: swagger_parser description: Package that generates REST clients and data classes from OpenApi definition file -version: 1.19.0 +version: 1.19.1 repository: https://github.com/Carapacik/swagger_parser/tree/main/swagger_parser topics: - swagger