From: Tim Starling Date: Mon, 18 May 2020 04:18:14 +0000 (+1000) Subject: Backport docs/extension.schema.v2.json fixes X-Git-Tag: 1.31.8~9 X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=0c9325129a49014376d5772290dd49411e432795 Backport docs/extension.schema.v2.json fixes * Fix the type of "Hooks" to not accept string (it never would've worked) Bug: T240307 Change-Id: I1a8657ff9fd14618c6709dbab62c3b4ee9f659a5 --- diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index e13129bb56..9c7290a119 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -596,7 +596,7 @@ "type": "object" }, "Hooks": { - "type": [ "string", "object" ], + "type": "object", "description": "Hooks this extension uses (mapping of hook name to callback)" }, "JobClasses": {