File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
openapi-generator-annotations Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,11 @@ class Example extends OpenapiGeneratorConfig {}
63
63
```
64
64
65
65
Run
66
- ``` cmd
66
+ ``` shell
67
+ dart run build_runner build --delete-conflicting-outputs
68
+ ```
69
+ or
70
+ ``` shell
67
71
flutter pub run build_runner build --delete-conflicting-outputs
68
72
```
69
73
to generate open api client sdk from spec file specified in annotation.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Annotate a dart class with @Openapi() annotation
35
35
additionalProperties :
36
36
AdditionalProperties(pubName : ' petstore_api' , pubAuthor: 'Johnny depp'),
37
37
inputSpecFile : ' example/openapi-spec.yaml' ,
38
- generatorName : Genrator .dart,
38
+ generatorName : Generator .dart,
39
39
outputDirectory : ' api/petstore_api' )
40
40
class Example extends OpenapiGeneratorConfig {}
41
41
```
Original file line number Diff line number Diff line change 47
47
<dependency >
48
48
<groupId >org.openapitools</groupId >
49
49
<artifactId >openapi-generator-cli</artifactId >
50
- <version >6.0 .0</version >
50
+ <version >6.4 .0</version >
51
51
</dependency >
52
52
53
53
<dependency >
54
54
<groupId >com.bluetrainsoftware.maven</groupId >
55
55
<artifactId >openapi-dart-generator</artifactId >
56
- <version >5.13 </version >
56
+ <version >7.1 </version >
57
57
</dependency >
58
58
</dependencies >
59
59
</project >
You can’t perform that action at this time.
0 commit comments