wiki.techinc.nl/includes/Rest/Module
bpirkle 90494183bb REST: add restbase compat error handling mode
In order to replace certain /api/rest_v1 endpoints, we
need to have something in MediaWiki that generates a compatible
responser. The MediaWiki REST API error format does not match
RESTbase. So the easiest approach seemed to be to
add a compatibility mode, triggered using the x-restbase-compat
header. This can be set via the gateway when rerouting the request.

Bug: T374136
Change-Id: I73934940d367be52941bd27861c248ab5bcfb5d2
2024-09-16 18:09:12 -05:00
..
ExtraRoutesModule.php REST: Make module definition files more like OpenAPI specs 2024-06-24 16:42:59 +02:00
MatcherBasedModule.php REST: Make module definition files more like OpenAPI specs 2024-06-24 16:42:59 +02:00
Module.php REST: add restbase compat error handling mode 2024-09-16 18:09:12 -05:00
ModuleConfigurationException.php
SpecBasedModule.php REST: include version in generated OpenAPI spec 2024-08-19 20:47:40 +02:00