Describe the bug
The generated OpenAPI spec defines POST responses with code 200. However, at runtime the JSON API returns 201 for the POST requests.
When using the OpenAPI spec to generate a client this difference in response code breaks the response handling.
To Reproduce
Compare the response code in the OpenAPI spec to the response code actually returned from a create / post action.
Expected behaviour
The response codes in the OpenAPI spec should match the response codes returned from the API.
Describe the bug The generated OpenAPI spec defines POST responses with code 200. However, at runtime the JSON API returns 201 for the POST requests. When using the OpenAPI spec to generate a client this difference in response code breaks the response handling.
To Reproduce Compare the response code in the OpenAPI spec to the response code actually returned from a create / post action.
Expected behaviour The response codes in the OpenAPI spec should match the response codes returned from the API.
** Runtime