Browse Source

Merge pull request #134 from provokateurin/feature/handle-array-query-parameters-normal

dynamite: Stop handling array query parameters differently
pull/135/head
Kate 2 years ago committed by GitHub
parent
commit
f47a02215b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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;
case 'query':
code.write(
"queryParameters['${parameter.name}${result is TypeResultList ? '[]' : ''}'] = $value;",
"queryParameters['${parameter.name}'] = $value;",
);
break;
case 'header':

Loading…
Cancel
Save