]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Resolve issues with 'covers'
authorStephen Finucane <stephen@that.guru>
Wed, 15 Apr 2020 23:51:17 +0000 (00:51 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commit9da843141155c1f0835f671bc473e7c7424244e3
treee0ddb2a4ae8b9b30924a7707ffa692b520a3f56f
parentcdceccaa939a08190dc438fe3614659c3090aa8e
docs: Resolve issues with 'covers'

Two issues to correct:

- Each header in the 'headers' field can be either a string or a list
  value.
- We state that the 'content' field will always have content but our
  tests were configuring otherwise.

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/utils.py