diff --git a/samples/client/petstore/dart-dio/pubspec.yaml b/samples/client/petstore/dart-dio/pubspec.yaml index 92cbb8255c5a..1171a0028fbf 100644 --- a/samples/client/petstore/dart-dio/pubspec.yaml +++ b/samples/client/petstore/dart-dio/pubspec.yaml @@ -4,7 +4,7 @@ description: OpenAPI API client environment: sdk: ">=2.3.0 <3.0.0" dependencies: - dio: ^3.0.9 + dio: ">=3.0.9 <6.0.0" built_value: ^7.1.0 built_collection: ^4.3.2 dev_dependencies: