Skip to content

Commit fe46003

Browse files
authored
Remove deprecated OpenapiGeneratorConfig from example
1 parent 74c79e8 commit fe46003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Annotate a dart class with @Openapi() annotation
7979
inputSpecFile: 'example/openapi-spec.yaml',
8080
generatorName: Generator.dart,
8181
outputDirectory: 'api/petstore_api')
82-
class Example extends OpenapiGeneratorConfig {}
82+
class Example {}
8383
```
8484

8585
Run
@@ -126,7 +126,7 @@ New:
126126
cachePath: 'some/preferred/directory/cache.json',
127127
useNextGen: true
128128
)
129-
class Example extends OpenapiGeneratorConfig {}
129+
class Example {}
130130
```
131131

132132
**IMPORTANT** With the new changes comes 2 new annotation properties:

0 commit comments

Comments
 (0)