We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c258fab commit ab76ceeCopy full SHA for ab76cee
openapi_python_client/templates/endpoint_module.py.jinja
@@ -48,7 +48,7 @@ def _get_kwargs(
48
{% elif endpoint.json_body %}
49
"json": {{ "json_" + endpoint.json_body.python_name }},
50
{% elif endpoint.binary_body %}
51
- "content": {{ endpoint.binary_body.python_name }},
+ "content": {{ endpoint.binary_body.python_name }}.payload,
52
{% endif %}
53
{% if endpoint.query_parameters %}
54
"params": params,
0 commit comments