]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Resolve issues with 'relations'
authorStephen Finucane <stephen@that.guru>
Thu, 16 Apr 2020 13:03:54 +0000 (14:03 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commitc3d73a00536ff92e65639b912eaeddd462b7cbc3
tree6c4c1b32aec34d7412639426909ca737d4cf400a
parent6bd33cbd72eacf630e603d1e5b5ce266452fc2cb
docs: Resolve issues with 'relations'

Two issues here:

- 'PATCH /patches/{id}' and 'PUT /patches/{id}' expect a list of
  integers on the 'related' field - not strings
- 'GET /patches' and 'GET /patches/{id}' return a list of embedded patch
  objects on the 'related' field - not strings

Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/api/schemas/latest/patchwork.yaml
docs/api/schemas/patchwork.j2
docs/api/schemas/v1.2/patchwork.yaml