Skip to content

Commit

Permalink
Fix api.mustache tempalte query params default to array instead of dict
Browse files Browse the repository at this point in the history
  • Loading branch information
jv-asana committed Dec 15, 2023
1 parent 7842b5d commit 5e045d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/templates/api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class {{classname}}(object):
collection_formats['{{baseName}}'] = '{{collectionFormat}}'{{/isListContainer}} # noqa: E501
{{/pathParams}}

query_params = []
query_params = {}
{{#hasOptionalParams}}
query_params = opts
{{/hasOptionalParams}}
Expand Down

0 comments on commit 5e045d0

Please sign in to comment.