You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to achieve or the steps to reproduce?
If you set this validation;
validate: {
payload: Joi.object({
newPassword: Joi.string().min(8).max(64).required(),
}),
},
In the swagger UI the default test is "newPassword": "stringst" instead of string, its just a typo.
What was the result you got?
"newPassword": "stringst"
What result did you expect?
"newPassword": "string"
The text was updated successfully, but these errors were encountered:
Runtime
nodejs
Runtime version
17.13.1
Module version
17.13.1
Last module version without issue
No response
Used with
hapi
Any other relevant information
Used with latest Hapi and Joi
What are you trying to achieve or the steps to reproduce?
If you set this validation;
What was the result you got?
"newPassword": "stringst"
What result did you expect?
"newPassword": "string"
The text was updated successfully, but these errors were encountered: