We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When setting nullable and minLength for a string and sending a request which does not fullfil the minLength makes the request hang
nullable
minLength
To Reproduce Just try the request again which does not fullfil the minLength
Actual behavior E.g. curl simply hangs until timeout
curl
Expected behavior Express should respond that the request doesn't fullfil the requirements.
Examples and context Having a model including a requestBody for POST containing something like that:
requestBody
POST
UserPassword: type: string minLength: 8 maxLength: 128 nullable: true default: null description: Foo example: Bar
will make Express hang if a string is provided in a request which is smaller than minLength.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When setting
nullable
andminLength
for a string and sending a request which does not fullfil theminLength
makes the request hangTo Reproduce
Just try the request again which does not fullfil the
minLength
Actual behavior
E.g.
curl
simply hangs until timeoutExpected behavior
Express should respond that the request doesn't fullfil the requirements.
Examples and context
Having a model including a
requestBody
forPOST
containing something like that:will make Express hang if a string is provided in a request which is smaller than
minLength
.The text was updated successfully, but these errors were encountered: