]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Resolve issues with 'patches'
authorStephen Finucane <stephen@that.guru>
Wed, 15 Apr 2020 22:36:59 +0000 (23:36 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commit2047107468a1d78daf2e917ddce1253b38ea23ea
tree0677aefee680ff31665c41a9c95b1ae61f7a9ab9
parent11131063b49b81d86cf51a8c2704370997db3d38
docs: Resolve issues with 'patches'

Four issues to resolve:

- The 'tags' field is a key-value mapping, not an array.
- Each header in the 'headers' field can be either a string or a list
  value.
- Errors are reported as a mapping of the field name to an array of
  errors, not a string.
- The security type information isn't complete and doesn't account for
  security types. Skip it for now.

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