Page MenuHomePhabricator

Update OpenAPI tooling to version supporting version 3.1.0 of the OpenAPI standard
Closed, ResolvedPublic

Description

Swagger tooling Wikibase REST API uses e.g. for the autodocs page has recently received new versions which include OpenAPI 3.1.0 support, see e.g. https://github.com/swagger-api/swagger-ui/releases/tag/v5.0.0

Our specification is likely not immediately benefiting massively from the new OpenAPI standard parts. It still seems sensible to update the underlying tooling to the recent major versions.

As long as the tooling update does not involve fundamental changes to how we use it (e.g. how we build the specification file, how we generate autodocs file) we will attempt the update

Event Timeline

Ollie.Shotton_WMDE renamed this task from Update Open API tooling to version supporting version 3.1.0 of the Open API standard to Update OpenAPI tooling to version supporting version 3.1.0 of the OpenAPI standard.Jun 30 2023, 9:24 AM
Ollie.Shotton_WMDE updated the task description. (Show Details)

Change 974217 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Update swagger-ui package to support OAS v3.1.x

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

Change 974218 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Migrate OpenAPI schema to version 3.1.0

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

Change 974217 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Update swagger-ui package to support OAS v3.1.x

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

Change 974218 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Migrate OpenAPI schema to version 3.1.0

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