-
Notifications
You must be signed in to change notification settings - Fork 426
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
Python client generated with 2.4.21 does not handle download of binary data (UTF-8 decode issue) #931
Comments
This was fixed also at openApi-generator see: OpenAPITools/openapi-generator#5679 |
Agossi
added a commit
to Agossi/swagger-codegen-generators
that referenced
this issue
Jul 14, 2021
Fix for issue swagger-api#931 , please review
Merged
fixed by #932 |
Fyro-Ing
pushed a commit
to Fyro-Ing/swagger-codegen-generators
that referenced
this issue
Sep 13, 2021
Fix for issue swagger-api#931 , please review
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error which I get when response is processed:
'utf-8' codec can't decode byte 0x9a in position 10: invalid start byte rest.py", line 222, in request
Failing code part in rest.py:
# we need to decode it to string. if six.PY3: r.data = r.data.decode('utf8')
Is there an error in my extract of the yaml?
Or is this still a bug in the codegen?
Many thanks in advance
The text was updated successfully, but these errors were encountered: