From fe4600343b9898c1aeea78efbb96f3bb69b0f1b8 Mon Sep 17 00:00:00 2001 From: David Tejuosho Date: Sat, 6 Jan 2024 21:51:41 -0500 Subject: [PATCH] Remove deprecated OpenapiGeneratorConfig from example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7435421..82a158b 100755 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Annotate a dart class with @Openapi() annotation inputSpecFile: 'example/openapi-spec.yaml', generatorName: Generator.dart, outputDirectory: 'api/petstore_api') -class Example extends OpenapiGeneratorConfig {} +class Example {} ``` Run @@ -126,7 +126,7 @@ New: cachePath: 'some/preferred/directory/cache.json', useNextGen: true ) -class Example extends OpenapiGeneratorConfig {} +class Example {} ``` **IMPORTANT** With the new changes comes 2 new annotation properties: