Description
The first step of making the Wikibase documentation more reasonable and consistent with our other API structures is to create an API module. API module creation will allow us to have flexibility with how and where the reference documentation is displayed. Specifically, we can contain and eventually hide the endpoints from the flat list to make it easier to navigate while opting to display the higher quality externally managed spec within the Sandbox.
Conditions of acceptance
- Create a REST API module for the Wikibase extension
- All routes under wikibase/v1 should be included in that module
- Do not surface this module in the REST Sandbox; it should be hidden by default
EDIT: we will surface the sandbox for parity with what's there now since since can't yet use the open-api.json spec provided by one of the endpoints until T425451 is dealt with.
ANOTHER EDIT: we changed course and will not surface this module in the REST Sandbox at this time.