Open Muratcol opened 2 years ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
@Muratcol Can you provide more codes? I can't reproduce with test cases in tsoa:
// tests/integration/...
it('should invalid empty request body', () => {
return verifyPostRequest(
`${basePath}/Validate/body`,
{},
(_err, res) => {
console.log(res);
},
);
});
Hi @Muratcol,
Can you provide more code for the HTMLToImageService
class? I think the problem is in your approach because I can't reproduce the issue.
In POST requests, when an empty JSON object is sent, the API hangs and the request cannot access the controller function at all.
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
If there is no mandatory parameter in the sent request, the validation errors should be returned.
Current Behavior
Steps to Reproduce
{ }
to the that endpointContext (Environment)
Version of the library: 4.1.3 Version of NodeJS: v16.13.1