]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Resolve issues with 'patches'
authorStephen Finucane <stephen@that.guru>
Thu, 16 Apr 2020 09:02:36 +0000 (10:02 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commitd9d8968c7c6afbbdac1fb81c34a08bc2dc6e6b8b
treec32ff315a58e46cd0259585ccff9779f1a0e1b3c
parent9da843141155c1f0835f671bc473e7c7424244e3
docs: Resolve issues with 'patches'

Two issues:

- Errors are reported as a mapping of the field name to an array of
  errors, not a string.
- We were attempting to validate an invalid request.

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