-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] [python-nextgen] Generated ApiClient Throws Error With Dict Query Params #14725
Comments
FYI this works in the |
@spacether The spec provided is a minimal reproduction. Truthfully, we tried the |
Can you please file a bug for the recursion error that you ran into? |
@spacether Yep, I can do that later today. |
@emma-campbell where is the issue? Can you please file it? |
@spacether Sorry, I ended up getting sick and then now having to play major catchup at work. Creating a minimal reproduction is proving to be a little more challenging than I anticipated. I can try my best to get it up by the end of the weekend. |
Sorry to hear that. If you want, you can direct message me the spec on slack and I can create the issue. I am there and my name is Justin Black in our slack org. |
@spacether I've spent some time now trying to reproduce the issue that I previously ran into using the master branch, and for whatever reason I am unable to. If I run into it again, I will be sure to open up a new issue. As for now, since #14727 was merged in, I will close this issue 😊 |
Bug Report Checklist
Description
The generated
ApiClient
methodparameters_to_url_query
convertsint
,float
, andbool
values to strings. It does not do the same fordict
. As a result passing adict
query param to the client results in the following error.Expected output would be to not have this error.
openapi-generator version
Tested against
6.3.0
as well asmaster
.OpenAPI declaration file content or url
OpenApi Gist Here
Generation Details
Steps to reproduce
Error mentioned before will throw on the
results =
line.Related issues/PRs
Pretty similar to #14334, but here applying to
dict
types.Suggest a fix
I will have a PR shortly for the mustache template.
The text was updated successfully, but these errors were encountered: