We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40491e commit 15b2c5dCopy full SHA for 15b2c5d
openapi_python_client/templates/endpoint_module.py.jinja
@@ -57,7 +57,7 @@ def _get_kwargs(
57
{% set body = endpoint.bodies[0] %}
58
{{ body_to_kwarg(body, "_body") | indent(4) }}
59
_kwargs["{{ body.body_type.value }}"] = _body
60
- {% if body.content_type != "multipart/form-data" %} {# Need httpx to set the boundary automatically #}
+ {% if body.content_type != "multipart/form-data" %}{# Need httpx to set the boundary automatically #}
61
headers["Content-Type"] = "{{ body.content_type }}"
62
{% endif %}
63
0 commit comments