Page MenuHomePhabricator

🍍 Add missing 415 error responses to the OpenAPI schema
Closed, ResolvedPublic

Description

The write endpoints (POST, PUT, DELETE) now all have "middleware" to check the Content-Type header and return a 415 error response if incorrect. This isn't currently reflected in the OpenAPI Schema.

Event Timeline

Ollie.Shotton_WMDE renamed this task from Add mising 415 error responses to the OpenAPI schema to 🍍 Add mising 415 error responses to the OpenAPI schema.Aug 3 2022, 9:24 AM
Jakob_WMDE renamed this task from 🍍 Add mising 415 error responses to the OpenAPI schema to 🍍 Add missing 415 error responses to the OpenAPI schema.Aug 3 2022, 1:31 PM
Jakob_WMDE claimed this task.

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

[mediawiki/extensions/Wikibase@master] REST: Add 415 error responses to OpenAPI schema

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

Change 820133 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Add 415 error responses to OpenAPI schema

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

@Jakob_WMDE: Assuming this task is resolved. Thus setting resolved task status. Please reopen and add an active project tag if that is not the case. Thanks.