Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Update README.md (epam-cross-platform-lab#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
fryette authored Oct 14, 2021
1 parent 2d767aa commit ea0934d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,21 @@ In general case for each .swagger file three outputs will be created. </br>
<img src="https://raw.githubusercontent.com/epam-cross-platform-lab/swagger-dart-code-generator/master/assets/overview_image.png" width="320" alt="Bloc" />

## **Installation**
The generated code uses the following packages in run-time:
```yaml
dependencies:
chopper: ^4.0.1
json_annotation: ^4.1.0
```
Add the following to your `pubspec.yaml` file to be able to do code generation:
```yaml
dev_dependencies:
build_runner: ^2.1.4
chopper_generator: ^4.0.2
json_serializable: ^5.0.0
swagger_dart_code_generator: any
```
The generated code uses the following packages in run-time:
```yaml
dependencies:
chopper: ^4.0.1
json_annotation: ^4.1.0
```

Then run:
```shell
Expand Down

0 comments on commit ea0934d

Please sign in to comment.