Skip to content

Commit

Permalink
Version/2.8.6 (#500)
Browse files Browse the repository at this point in the history
* Fixed generation of requestBodies in some border cases
Fix #489

* Updated changelog and pubspec

* Added 'Method' to key classes #492
Fixed generatino of list request bodies #493

* Fixed #491

* Fixed ticket number

Co-authored-by: Uladzimir Paliukhovich <[email protected]>
  • Loading branch information
Vovanella95 and Uladzimir Paliukhovich authored Nov 17, 2022
1 parent 6f4ee17 commit 5993375
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 2.8.6

* Make Object in List of Object nullable ([#498](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/498))

* Fixed generation of request bodies in some cases ([#489](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/489))

* Added `Method` to key classes ([#492](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/492))
Expand Down
2 changes: 1 addition & 1 deletion lib/src/code_generators/swagger_models_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ static $returnType $fromJsonFunction($valueType? value) => $enumNameCamelCase$fr
allClasses: allClasses,
prop: items,
propertyName: propertyName,
).asList();
).makeNullable().asList();
}
}

Expand Down

0 comments on commit 5993375

Please sign in to comment.