diff --git a/packages/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/lib/src/openapi_builder.dart index 3e965bc8..a2743b75 100644 --- a/packages/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/lib/src/openapi_builder.dart @@ -609,7 +609,7 @@ class OpenAPIBuilder implements Builder { break; case 'query': code.write( - "queryParameters['${parameter.name}'] = $value;", + "queryParameters['${parameter.name}${result is TypeResultList ? '[]' : ''}'] = $value;", ); break; case 'header':