|
| 1 | +     |
| 2 | + |
| 3 | +### Do not forget to give a star or like if you like this library. |
| 4 | + |
1 | 5 | This codebase houses the dart/flutter implementations of the openapi client sdk code generation libraries.
|
2 | 6 |
|
3 |
| -With this project, you can generate openapi client sdk libraries for your openapi specification right in your flutter/dart projects. (see example) |
| 7 | +With this project, you can generate openapi client sdk libraries for your openapi specification right in your |
| 8 | +flutter/dart projects. (see example) |
4 | 9 |
|
5 | 10 | [license](https://github.com/gibahjoe/openapi-generator-dart/blob/master/openapi-generator-annotations/LICENSE).
|
6 | 11 |
|
7 |
| - |
8 | 12 | This repo contains the following dart libraries
|
9 | 13 |
|
10 |
| -| Library | Description | latest version | |
11 |
| -|---------------|-------------|---------------| |
12 |
| -| openapi-generator |Dev dependency for generating openapi sdk via dart source gen [see here for usage](https://pub.dev/packages/openapi_generator)| [](https://pub.dev/packages/openapi_generator)| |
13 |
| -| openapi-generator-annotations|Annotations for annotating dart class with instructions for generating openapi sdk [see here for usage](https://pub.dev/packages/openapi_generator_annotations)|[](https://pub.dev/packages/openapi_generator)| |
14 |
| -| openapi-generator-cli |Cli code openapi sdk generator for dart [see here for usage](https://pub.dev/packages/openapi_generator_cli)|[](https://pub.dev/packages/openapi_generator_cli)| |
| 14 | +| Library | Description | latest version | |
| 15 | +|-------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------| |
| 16 | +| openapi-generator | Dev dependency for generating openapi sdk via dart source gen [see here for usage](https://pub.dev/packages/openapi_generator) | [](https://pub.dev/packages/openapi_generator) | |
| 17 | +| openapi-generator-annotations | Annotations for annotating dart class with instructions for generating openapi sdk [see here for usage](https://pub.dev/packages/openapi_generator_annotations) | [](https://pub.dev/packages/openapi_generator) | |
| 18 | +| openapi-generator-cli | Cli code openapi sdk generator for dart [see here for usage](https://pub.dev/packages/openapi_generator_cli) | [](https://pub.dev/packages/openapi_generator_cli) | |
15 | 19 |
|
16 | 20 |
|
17 | 21 |
|
@@ -63,7 +67,11 @@ class Example extends OpenapiGeneratorConfig {}
|
63 | 67 | ```
|
64 | 68 |
|
65 | 69 | Run
|
66 |
| -```cmd |
| 70 | +```shell |
| 71 | +dart run build_runner build --delete-conflicting-outputs |
| 72 | +``` |
| 73 | +or |
| 74 | +```shell |
67 | 75 | flutter pub run build_runner build --delete-conflicting-outputs
|
68 | 76 | ```
|
69 | 77 | to generate open api client sdk from spec file specified in annotation.
|
|
0 commit comments