From: Reedy Date: Mon, 21 Nov 2016 02:43:50 +0000 (+0000) Subject: registration: FileExtensions should be an array, not an object X-Git-Tag: 1.31.0-rc.0~4811 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=2f5ee9518857b4384518a283ff2d963145a8b119;p=lhc%2Fweb%2Fwiklou.git registration: FileExtensions should be an array, not an object Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 638ee5d860..30feaef245 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -651,8 +651,11 @@ "description": "Password policies" }, "FileExtensions": { - "type": "object", - "description": "Preferred file extensions for uploading" + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } }, "callback": { "type": [ diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 4d5c44f692..421ea5c732 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -641,8 +641,11 @@ "description": "Password policies" }, "FileExtensions": { - "type": "object", - "description": "Preferred file extensions for uploading" + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } }, "callback": { "type": [