Page MenuHomePhabricator

Update tests to use the OpenAPI 3.0 spec
Open, MediumPublic4 Estimated Story Points

Description

Following T382294: Use openapi compliant examples in swagger spec, we should now update our tests in test/features/app/spec.js to use the new Open API spec. The tests currently rely on the x-amples stanzas that have been kept for compatibility with the service-checker.

Event Timeline

Change #1108144 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/services/cxserver@master] cxserver spec.js: Add tests for updated openAPI compliant examples

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

Change #1108144 abandoned by Nikerabbit:

[mediawiki/services/cxserver@master] cxserver spec.js: Add tests for updated openAPI compliant examples

Reason:

not actively worked on, linked from the task so it can be restored if needed later

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

Change #1289164 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/services/cxserver@master] spec: replace x-amples with OpenAPI 3.x examples; move test fixtures out of spec

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

Change #1289164 merged by jenkins-bot:

[mediawiki/services/cxserver@master] spec: replace x-amples with OpenAPI 3.x examples; move test fixtures out of spec

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

Change #1289463 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update cxserver to 2026-05-20-034002-production

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

Change #1289463 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2026-05-20-034002-production

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