Open
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
The method "parameters_to_url_query" throws an error when the input is of type List[int] because the join operation expects string types, but it is being applied to integers.
input is of type List[int]
Annotated[Optional[conlist(StrictInt)]
Run error
File "xx\api_client.py", line 552, in <listcomp>
return "&".join(["=".join(item) for item in new_params])
TypeError: sequence item 1: expected str instance, int found
api_client.py Lines of code
552 return "&".join(["=".join(item) for item in new_params])
Local modification valid
return "&".join(["=".join(str(item)) for item in new_params])