From 0c7bcec41d38e8a5ff40a66bfd174650b9d41433 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Wed, 23 Nov 2022 11:41:29 +0100 Subject: [PATCH] dynamite: Stop handling array query parameters differently --- packages/dynamite/lib/src/openapi_builder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/lib/src/openapi_builder.dart index f14a17b0..c5c9a00f 100644 --- a/packages/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/lib/src/openapi_builder.dart @@ -1033,7 +1033,7 @@ class OpenAPIBuilder implements Builder { break; case 'query': code.write( - "queryParameters['${parameter.name}${result is TypeResultList ? '[]' : ''}'] = $value;", + "queryParameters['${parameter.name}'] = $value;", ); break; case 'header':