From 0c9325129a49014376d5772290dd49411e432795 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 18 May 2020 14:18:14 +1000 Subject: [PATCH] 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 --- docs/extension.schema.v2.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { -- 2.20.1