Skip to content

Commit

Permalink
Version/2.3.7 (#314)
Browse files Browse the repository at this point in the history
* Fixed some issues

* Added fix for Field annotations. Updatec changelog and pubspec

* Fixed lot of issues with AllOf support

* Updated changelog and pubspec

* Added requestbodies generation from requests

* Add windows support (#273)

* Run CI on windows too

* chore: Fix a number of path joins

* fix: Revert change to getFileNameWithoutExtension

* fix: Normalize paths used for extensions

* Fixed errors with requestBodies generation

* Added possibility to use operationId for request name

* Format code

* Updated pubspec and changelog

* Fix tests

* Fix analyser issues

* Updated example readme

* Removed converter generator

* Fix cases when refs are overriden

* Fixed enum generation
Changed int64 parsing to double

* Released 2.2.8

* Added support int64

* Updated changelog and pubspec

* Fix for models int64

* Updated changelog and pubspec

* Removed not needed file

* Fixed responses array of int

* Reverted analysis options

* Updated changelog

* Updated version

* Fixed tests

* Fixed analyser issues

* Fixed issue #291

* updated changelog and pubcpec

* Added parsing of security for requests

* Fixed num parsing as Num

* Implemented security keys definition

* Removed not needed prints

* Updated changelog and pubspec

* Removed use_inheritance field

* Removed outdated tests

* Implemented integer enums support

* Updated changelog and pubspec

* Fixed fromJson for integer enum fields

* Updated changelog and pubspec

* Formatted code

* Updated changelog

* Fixed issue 263

* Fixed test

* Fixed issue #311

* Updated pubspec and changelog

* Fixed list enums generation in requests

* Updated pubspec and changelog

Co-authored-by: uladzimir_paliukhovich <>
Co-authored-by: Elliana May <[email protected]>
  • Loading branch information
Vovanella95 and Mause authored Jan 14, 2022
1 parent f74d7cb commit 09e9e4b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.3.7

* Fixed Issue ([#305](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/305))
* Fixed enum prefix for list of enums in requests when Enums contain names with symbols

# 2.3.6

* Fixed Issue ([#311](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/311))
Expand Down
6 changes: 3 additions & 3 deletions lib/src/code_generators/swagger_requests_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ class SwaggerRequestsGenerator {
schemas.addAll(root.definitions);

final refs = [
parameter.schema?.items?.ref.getRef(),
parameter.schema?.ref.getRef(),
parameter.items?.ref.getRef(),
parameter.schema?.items?.ref.getUnformattedRef(),
parameter.schema?.ref.getUnformattedRef(),
parameter.items?.ref.getUnformattedRef(),
];
final schema =
schemas[refs.firstWhereOrNull((ref) => ref?.isNotEmpty == true)];
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: swagger_dart_code_generator

version: 2.3.6
version: 2.3.7

homepage: https://github.com/epam-cross-platform-lab/swagger-dart-code-generator
repository: https://github.com/epam-cross-platform-lab/swagger-dart-code-generator
Expand Down

0 comments on commit 09e9e4b

Please sign in to comment.