From 73c57e8955075b544eec135c4094a46bcd76d8db Mon Sep 17 00:00:00 2001 From: Yimin Lin Date: Tue, 28 Aug 2018 11:02:05 +0800 Subject: [PATCH] Upper constraints on the SDK version --- .../client/petstore/dart2/flutter_petstore/openapi/pubspec.yaml | 2 ++ .../client/petstore/dart2/openapi-browser-client/pubspec.yaml | 2 ++ samples/client/petstore/dart2/openapi/pubspec.yaml | 2 ++ samples/client/petstore/dart2/petstore/pubspec.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/samples/client/petstore/dart2/flutter_petstore/openapi/pubspec.yaml b/samples/client/petstore/dart2/flutter_petstore/openapi/pubspec.yaml index d54efb46a2e4..9ccf0e524ad0 100644 --- a/samples/client/petstore/dart2/flutter_petstore/openapi/pubspec.yaml +++ b/samples/client/petstore/dart2/flutter_petstore/openapi/pubspec.yaml @@ -1,5 +1,7 @@ name: openapi version: 1.0.0 description: OpenAPI API client +environment: + sdk: '>=2.0.0 <3.0.0' dependencies: http: '>=0.11.1 <0.12.0' diff --git a/samples/client/petstore/dart2/openapi-browser-client/pubspec.yaml b/samples/client/petstore/dart2/openapi-browser-client/pubspec.yaml index d54efb46a2e4..9ccf0e524ad0 100644 --- a/samples/client/petstore/dart2/openapi-browser-client/pubspec.yaml +++ b/samples/client/petstore/dart2/openapi-browser-client/pubspec.yaml @@ -1,5 +1,7 @@ name: openapi version: 1.0.0 description: OpenAPI API client +environment: + sdk: '>=2.0.0 <3.0.0' dependencies: http: '>=0.11.1 <0.12.0' diff --git a/samples/client/petstore/dart2/openapi/pubspec.yaml b/samples/client/petstore/dart2/openapi/pubspec.yaml index d54efb46a2e4..9ccf0e524ad0 100644 --- a/samples/client/petstore/dart2/openapi/pubspec.yaml +++ b/samples/client/petstore/dart2/openapi/pubspec.yaml @@ -1,5 +1,7 @@ name: openapi version: 1.0.0 description: OpenAPI API client +environment: + sdk: '>=2.0.0 <3.0.0' dependencies: http: '>=0.11.1 <0.12.0' diff --git a/samples/client/petstore/dart2/petstore/pubspec.yaml b/samples/client/petstore/dart2/petstore/pubspec.yaml index 373c848db59d..cd9abef5a9f7 100644 --- a/samples/client/petstore/dart2/petstore/pubspec.yaml +++ b/samples/client/petstore/dart2/petstore/pubspec.yaml @@ -1,6 +1,8 @@ name: petstore_client version: 1.0.0 description: Petstore client using OpenAPI library +environment: + sdk: '>=2.0.0 <3.0.0' dependencies: openapi: path: ../openapi-browser-client