Page MenuHomePhabricator

🟧️ Publish the OpenAPI docs
Closed, ResolvedPublic3 Estimated Story Points

Description

Publish them on doc.wikimedia.org

Event Timeline

Notes from task breakdown:

  • add a doc:rest-api script to Wikibase.git/package.json that generates the OpenAPI spec and writes it to the docs/rest-api/ directory.
    • adjust webpack.config.js to write to docs/rest-api/ instead of dist/
    • adjust README to mention the new directory
    • call the repo/rest-api/package.json script
  • add a link to the spec from rest-api/README.md
  • get inspiration from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/594122
Jakob_WMDE renamed this task from Publish the OpenAPI docs to 🟧️ Publish the OpenAPI docs.May 30 2022, 10:50 AM

Change 801703 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Publish the OpenAPI docs

https://gerrit.wikimedia.org/r/801703

Change 801703 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Publish the OpenAPI docs

https://gerrit.wikimedia.org/r/801703