Page MenuHomePhabricator

🟦 Investigate MW endpoint documentation
Closed, ResolvedPublic

Description

  • How does the MW REST API handle per-endpoint documentation and examples?

Event Timeline

Silvan_WMDE renamed this task from Investigate MW endpoint documentation to 🟦 Investigate MW endpoint documentation.Feb 23 2022, 8:22 AM

The MW REST API wiki page suggests to document endpoints on the extension's wiki page: https://www.mediawiki.org/wiki/API:REST_API/Extensions#Documenting_endpoints
There is a wiki template for it here: https://www.mediawiki.org/wiki/API:REST/Extensions/Documentation_Template

If I remember correctly what we wanted to find out is whether there is any inline documentation generated from the API handler classes, which there isn't. That's probably a good thing and just means that we'll create the documentation separate from the code, in our OpenAPI spec or elsewhere.

WMDE-leszek claimed this task.