You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 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)|
15
+
16
+
17
+
18
+
6
19
## Usage
7
20
8
21
Include [openapi-generator-annotations](https://pub.dev/packages/openapi_generator_annotations) as a dependency in the dependencies section of your pubspec.yaml file :
9
22
10
23
```yaml
11
24
dependencies:
12
-
openapi_generator_annotations: ^1.0.5
25
+
openapi_generator_annotations: ^[latest-version]
13
26
```
14
27
15
28
16
29
Add [openapi-generator](https://pub.dev/packages/openapi_generator) in the dev dependencies section of your pubspec.yaml file:
17
30
18
31
```yaml
19
32
dev_dependencies:
20
-
openapi_generator: ^1.0.5
33
+
openapi_generator: ^[latest version]
21
34
```
22
35
23
36
@@ -28,7 +41,7 @@ Annotate a dart class with @Openapi() annotation
0 commit comments