[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-09-25 Thread connorshea
connorshea added a comment. Thank you! TASK DETAIL https://phabricator.wikimedia.org/T315164 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WMDE-leszek, connorshea Cc: WMDE-leszek, Ollie.Shotton_WMDE, connorshea, Aklapper, Astuthiodit_1,

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-09-22 Thread WMDE-leszek
WMDE-leszek closed this task as "Resolved". WMDE-leszek claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T315164 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WMDE-leszek Cc: WMDE-leszek, Ollie.Shotton_WMDE, connorshea, Aklapper,

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-09-22 Thread WMDE-leszek
WMDE-leszek added a comment. "type" field has been removed from requests and responses (see T316077 ) which makes the issue resolved I'd think. TASK DETAIL https://phabricator.wikimedia.org/T315164 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-08-24 Thread Ollie.Shotton_WMDE
Ollie.Shotton_WMDE added a comment. Hi, thanks for submitting this task and sorry this wasn't better documented! We were discussing removing the "type" field altogether which is why the Swagger docs and implementation don't quite align. Your ticket prompted us to create T316077

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-08-13 Thread connorshea
connorshea added a comment. I managed to figure out how to generate the Swagger docs locally, and changing `repo/rest-api/specs/global/request-parts.json` in the Wikibase repo fixes this problem: { "StatementRequest": { "allOf": [ {

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-08-13 Thread connorshea
connorshea created this task. connorshea added projects: Wikibase REST API, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - View the REST API Swagger docs at