Skip to content

Commit

Permalink
Version/2.4.0 prerelease.1 (#342)
Browse files Browse the repository at this point in the history
* Fixed allof without parameters generation

* Updatecd pubspec and changelog

* Fixed analyser issues

* Fixed issue 331 with List<List<User>>

* Updatec pubspec and changelog.
Removed not needed code

* Updated gitignore

* Added ability to generate files from urls

* Improved code generator

* Updated changelog and pubspec

* Added main.dart

* Removed generation of indexes file

* Updated changelog and pubspec

* Fixed parameter names generation

* Revert "Removed generation of indexes file"

This reverts commit 4ad82db.

* Fixed generation of client index file

* Fixed enum names generation

* Updated pubspec and changelog

* Added possibility to cache files

* Issue #340 added generation of toString overrides

* Updated dependencies and added lints

* Updated lints

* Fixed enum names generation from x-enumNames and x-enum-varnames

* Fixed tests

* Updated changelog and pubspec

* Fixed tests

* Added yaml support

* Removed not needed const

* Fixed multiple manipulations in map

* Refactored example and fixes issues

* Fixed some things

* Fixed test

* Updated example project

* Updated pubspec and changelog

Co-authored-by: uladzimir_paliukhovich <>
  • Loading branch information
Vovanella95 authored Feb 15, 2022
1 parent 431bfd8 commit bf29443
Show file tree
Hide file tree
Showing 10 changed files with 2,390 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build/
*.swagger
*.test_coverage.dart
lcov.info
!example_swagger.swagger
!pet_service_swagger.swagger
doc/

# Android related
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.4.0-prerelease.5

* :partying_face: Implemented yaml format support :partying_face: ([#337](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/337))

# 2.4.0-prerelease.4

* Updated lints ([#339](https://github.com/epam-cross-platform-lab/swagger-dart-code-generator/issues/339))
Expand Down
3 changes: 3 additions & 0 deletions example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ targets:
options:
input_folder: "input_folder/"
output_folder: "lib/swagger_generated_code/"
input_urls:
- "https://raw.githubusercontent.com/epam-cross-platform-lab/swagger-dart-code-generator/master/example/input_folder/pet_service_json.json"
- "https://raw.githubusercontent.com/epam-cross-platform-lab/swagger-dart-code-generator/master/example/input_folder/pet_service_yaml.yaml"
with_base_url: true
with_converter: true
use_path_for_request_names: true
Expand Down
Loading

0 comments on commit bf29443

Please sign in to comment.