You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Response serialisation doesn't support any other text content types but text/plain. In the openapi declaration provided example that contains content-type: text/csv.
It would require any server implementation that returns a response in text/csv format. I haven't one.
But from other declaration with the very same content type I have got an error:
E odm_api.exceptions.ApiException: (0)
E Reason: Unsupported content type: text/csv;charset=UTF-8
Bug Report Checklist
Description
Response serialisation doesn't support any other
text
content types buttext/plain
. In the openapi declaration provided example that contains content-type:text/csv
.openapi-generator version
7.7.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
It would require any server implementation that returns a response in
text/csv
format. I haven't one.But from other declaration with the very same content type I have got an error:
E odm_api.exceptions.ApiException: (0) E Reason: Unsupported content type: text/csv;charset=UTF-8
Related issues/PRs
6ae8a8f
Suggest a fix
I suppose we can substitute this condition in template:
to more general one:
Link in the code:
openapi-generator/samples/client/echo_api/python/openapi_client/api_client.py
Line 408 in 2f5529a
The text was updated successfully, but these errors were encountered: