diff --git a/modules/openapi-generator/src/main/resources/dart-dio/auth/api_key_auth.mustache b/modules/openapi-generator/src/main/resources/dart-dio/auth/api_key_auth.mustache index f5dd98b6b09..30d9661692e 100644 --- a/modules/openapi-generator/src/main/resources/dart-dio/auth/api_key_auth.mustache +++ b/modules/openapi-generator/src/main/resources/dart-dio/auth/api_key_auth.mustache @@ -20,7 +20,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor { } else { options.headers[authKeyName] = apiKey; } - break; } } return super.onRequest(options); diff --git a/samples/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart b/samples/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart index 8490421b0c2..2aa45a85802 100644 --- a/samples/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart +++ b/samples/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart @@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor { } else { options.headers[authKeyName] = apiKey; } - break; } } return super.onRequest(options); diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart index 8490421b0c2..2aa45a85802 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib/lib/auth/api_key_auth.dart @@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor { } else { options.headers[authKeyName] = apiKey; } - break; } } return super.onRequest(options); diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/auth/api_key_auth.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/auth/api_key_auth.dart index 8490421b0c2..2aa45a85802 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/auth/api_key_auth.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/auth/api_key_auth.dart @@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor { } else { options.headers[authKeyName] = apiKey; } - break; } } return super.onRequest(options);