mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-11 03:49:21 -06:00
add json validation fields
This commit is contained in:
@@ -161,6 +161,9 @@ const monitorValidation = joi.object({
|
||||
"number.base": "Frequency must be a number.",
|
||||
"any.required": "Frequency is required.",
|
||||
}),
|
||||
expectedValue: joi.string().allow(""),
|
||||
jsonPath: joi.string().allow(""),
|
||||
matchMethod: joi.string(),
|
||||
});
|
||||
|
||||
const imageValidation = joi.object({
|
||||
|
||||
Reference in New Issue
Block a user