Page MenuHomePhabricator

OpenAPI spec: Move out responses that are only referenced once from /global/responses.json
Closed, ResolvedPublic

Description

Responses that are specific to single endpoints should not be listed in the "global" section.

We have two options of moving them out:

  • create separate response.json files in /resources/items and /resources/statements
  • put none-global responses into single.json (and similar) files

Event Timeline

Jakob_WMDE renamed this task from OpenAPI spec: Move out reponses that are only referenced once from /global/responses.json to OpenAPI spec: Move out responses that are only referenced once from /global/responses.json.Sep 14 2022, 12:07 PM

Change #1072510 had a related patch set uploaded (by Muhammad Jaziraly; author: Muhammad Jaziraly):

[mediawiki/extensions/Wikibase@master] REST: Move out responses that are specific to one endpoint only.

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

Change #1072510 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Move out responses that are specific to one endpoint only.

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