Browse Source

dynamite: Stop handling array query parameters differently

pull/134/head
jld3103 2 years ago
parent
commit
0c7bcec41d
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

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

Loading…
Cancel
Save