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':