add json validation fields
This commit is contained in:
1 parent
1f0876dd71
commit
e7ffe47cf8
1 file changed
+3
@@ -161,6 +161,9 @@ const monitorValidation = joi.object({
|
|||||||
"number.base": "Frequency must be a number.",
|
"number.base": "Frequency must be a number.",
|
||||||
"any.required": "Frequency is required.",
|
"any.required": "Frequency is required.",
|
||||||
}),
|
}),
|
||||||
|
expectedValue: joi.string().allow(""),
|
||||||
|
jsonPath: joi.string().allow(""),
|
||||||
|
matchMethod: joi.string(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const imageValidation = joi.object({
|
const imageValidation = joi.object({
|
||||||
|
|||||||
Reference in new issue
Block a user