Hi, would it be possible to have optional request body? As written in OpenAPI documentation, it should be optional by default, but even when it is defined explicitly:
...
requestBody:
required: false
content:
application/json:
schema:
...
...lepo fails to parse request without content and fails with HTTP/400 {"error": "{'_body': InvalidBodyContent('Unable to parse this body as application/json')}"}. It is necessary to send empty json at least...
Hi, would it be possible to have optional request body? As written in OpenAPI documentation, it should be optional by default, but even when it is defined explicitly:
...lepo fails to parse request without content and fails with HTTP/400
{"error": "{'_body': InvalidBodyContent('Unable to parse this body as application/json')}"}. It is necessary to send empty json at least...