1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: addon schema validation (#4643)

Fix addon schema breaking build
This commit is contained in:
Tymoteusz Czech 2023-09-08 11:39:57 +02:00 committed by GitHub
parent b835efc0ad
commit 2aa63fbacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ export const addonDefinitionSchema = joi.object().keys({
displayName: joi.string(),
documentationUrl: joi.string().uri({ scheme: [/https?/] }),
description: joi.string().allow(''),
howTo: joi.string().optional().allow(''),
deprecated: joi.boolean().optional().default(false),
parameters: joi
.array()