Open ryskajakub opened 1 week ago
"@effect/platform": "^0.69.24"
I define:
HttpApiEndpoint.get('home', '/') .addSuccess(HttpApiSchema.NoContent)
without any errors
generated openapi won't include any error response, only 204
I can see
400 The request did not match the expected schema
in the list of possible responses
looks like this response is added to every endpoint, it should only be in endpoints having any input schema
What version of Effect is running?
"@effect/platform": "^0.69.24"
What steps can reproduce the bug?
I define:
without any errors
What is the expected behavior?
generated openapi won't include any error response, only 204
What do you see instead?
I can see
in the list of possible responses
Additional information
looks like this response is added to every endpoint, it should only be in endpoints having any input schema