wiki.techinc.nl/tests/phpunit/unit/includes/Rest/testAdditionalRoutes.json
Bill Pirkle 6b772fee0b Add config variable $wgRestAPIAdditionalRouteFiles
New configuration variable $wgRestAPIAdditionalRouteFiles
allows specifying additional Core REST API route files to
include. The initial use is to include development routes
from new file coreDevelopmentRoutes.json only on testing
wikis, but not on production wikis.

Bug: T247997
Change-Id: Iff8a9b7f4cafb29162e9b10f3d32e2a85f6f58df
2020-03-23 10:22:58 -05:00

6 lines
109 B
JSON

[
{
"path": "/mock/RouterTest/hello/two",
"class": "MediaWiki\\Tests\\Rest\\Handler\\HelloHandler"
}
]