1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

Strategy parameter description is allowed to be empty

This commit is contained in:
ivaosthu 2016-12-17 16:47:52 +01:00
parent 6827807c8c
commit d1e809a9a4

View File

@ -12,7 +12,7 @@ const strategySchema = joi.object().keys({
.items(joi.object().keys({ .items(joi.object().keys({
name: joi.string().required(), name: joi.string().required(),
type: joi.string().required(), type: joi.string().required(),
description: joi.string(), description: joi.string().allow(''),
required: joi.boolean(), required: joi.boolean(),
})), })),
}); });