Skip to content

Commit

Permalink
1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carapacik committed Sep 30, 2024
1 parent 7d357f4 commit 1983815
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions swagger_parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions swagger_parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ 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
# carapacik_lints: ^1.9.1
# 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:
```
Expand Down
6 changes: 3 additions & 3 deletions swagger_parser/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ 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
carapacik_lints: ^1.9.1
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:
../
2 changes: 1 addition & 1 deletion swagger_parser/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1983815

Please sign in to comment.