From c97483b4ec228a9d5b7ebaadcaa9ef0280bf31ab Mon Sep 17 00:00:00 2001 From: agilob Date: Tue, 19 Oct 2021 18:01:56 +0100 Subject: [PATCH] Lower minimum dart version to 2.12 --- .../openapi-generator/src/main/resources/dart2/pubspec.mustache | 2 +- .../client/petstore/dart2/petstore_client_lib/pubspec.yaml | 2 +- .../client/petstore/dart2/petstore_client_lib_fake/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/dart2/pubspec.mustache b/modules/openapi-generator/src/main/resources/dart2/pubspec.mustache index 133bd7fb792e..186986237424 100644 --- a/modules/openapi-generator/src/main/resources/dart2/pubspec.mustache +++ b/modules/openapi-generator/src/main/resources/dart2/pubspec.mustache @@ -7,7 +7,7 @@ version: '{{{pubVersion}}}' description: '{{{pubDescription}}}' homepage: '{{{pubHomepage}}}' environment: - sdk: '>=2.14.0 <3.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: http: '>=0.13.0 <0.14.0' intl: '^0.17.0' diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib/pubspec.yaml b/samples/openapi3/client/petstore/dart2/petstore_client_lib/pubspec.yaml index ee196b267a79..00043ba660cd 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib/pubspec.yaml +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib/pubspec.yaml @@ -7,7 +7,7 @@ version: '1.0.0' description: 'OpenAPI API client' homepage: 'homepage' environment: - sdk: '>=2.14.0 <3.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: http: '>=0.13.0 <0.14.0' intl: '^0.17.0' diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/pubspec.yaml b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/pubspec.yaml index ee196b267a79..00043ba660cd 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/pubspec.yaml +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/pubspec.yaml @@ -7,7 +7,7 @@ version: '1.0.0' description: 'OpenAPI API client' homepage: 'homepage' environment: - sdk: '>=2.14.0 <3.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: http: '>=0.13.0 <0.14.0' intl: '^0.17.0'