Backport docs/extension.schema.v2.json fixes
authorTim Starling <tstarling@wikimedia.org>
Mon, 18 May 2020 04:18:14 +0000 (14:18 +1000)
committerReedy <reedy@wikimedia.org>
Tue, 26 May 2020 00:45:14 +0000 (01:45 +0100)
* Fix the type of "Hooks" to not accept string (it never would've
  worked)

Bug: T240307
Change-Id: I1a8657ff9fd14618c6709dbab62c3b4ee9f659a5

docs/extension.schema.v2.json

index e13129b..9c7290a 100644 (file)
                        "type": "object"
                },
                "Hooks": {
-                       "type": [ "string", "object" ],
+                       "type": "object",
                        "description": "Hooks this extension uses (mapping of hook name to callback)"
                },
                "JobClasses": {