Browse Source

Revert "dynamite: Stop handling array query parameters differently"

This reverts commit 0c7bcec41d.
pull/143/head
jld3103 2 years ago
parent
commit
310cd21f5a
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/dynamite/lib/src/openapi_builder.dart

2
packages/dynamite/lib/src/openapi_builder.dart

@ -609,7 +609,7 @@ class OpenAPIBuilder implements Builder {
break; break;
case 'query': case 'query':
code.write( code.write(
"queryParameters['${parameter.name}'] = $value;", "queryParameters['${parameter.name}${result is TypeResultList ? '[]' : ''}'] = $value;",
); );
break; break;
case 'header': case 'header':

Loading…
Cancel
Save