summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2020-04-16 11:48:29 +0100
committerStephen Finucane <stephen@that.guru>2020-04-18 11:57:28 +0100
commitd11c8e25b982ebc9697ab725a53585781816bba1 (patch)
tree5ea94fb54b9f8a84dc9bb3c7704aad37fc09bef4
parentd9d8968c7c6afbbdac1fb81c34a08bc2dc6e6b8b (diff)
downloadpatchwork-d11c8e25b982ebc9697ab725a53585781816bba1.tar
patchwork-d11c8e25b982ebc9697ab725a53585781816bba1.tar.gz
docs: Resolve issues with 'comments'
Each header in the 'headers' field can be either a string or a list value. Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r--docs/api/schemas/latest/patchwork.yaml12
-rw-r--r--docs/api/schemas/patchwork.j212
-rw-r--r--docs/api/schemas/v1.0/patchwork.yaml12
-rw-r--r--docs/api/schemas/v1.1/patchwork.yaml12
-rw-r--r--docs/api/schemas/v1.2/patchwork.yaml12
5 files changed, 45 insertions, 15 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml
index 794140a..28c1849 100644
--- a/docs/api/schemas/latest/patchwork.yaml
+++ b/docs/api/schemas/latest/patchwork.yaml
@@ -1518,9 +1518,15 @@ components:
minLength: 1
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
CoverLetterList:
type: object
diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2
index 867add9..13cc278 100644
--- a/docs/api/schemas/patchwork.j2
+++ b/docs/api/schemas/patchwork.j2
@@ -1576,9 +1576,15 @@ components:
minLength: 1
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
CoverLetterList:
type: object
diff --git a/docs/api/schemas/v1.0/patchwork.yaml b/docs/api/schemas/v1.0/patchwork.yaml
index b697ce9..92801ec 100644
--- a/docs/api/schemas/v1.0/patchwork.yaml
+++ b/docs/api/schemas/v1.0/patchwork.yaml
@@ -1334,9 +1334,15 @@ components:
minLength: 1
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
CoverLetterList:
type: object
diff --git a/docs/api/schemas/v1.1/patchwork.yaml b/docs/api/schemas/v1.1/patchwork.yaml
index 45790c8..d57b535 100644
--- a/docs/api/schemas/v1.1/patchwork.yaml
+++ b/docs/api/schemas/v1.1/patchwork.yaml
@@ -1344,9 +1344,15 @@ components:
minLength: 1
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
CoverLetterList:
type: object
diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml
index e02c612..f2ee2a8 100644
--- a/docs/api/schemas/v1.2/patchwork.yaml
+++ b/docs/api/schemas/v1.2/patchwork.yaml
@@ -1518,9 +1518,15 @@ components:
minLength: 1
headers:
title: Headers
- type: array
- items:
- type: string
+ anyOf:
+ - type: object
+ additionalProperties:
+ type: array
+ items:
+ type: string
+ - type: object
+ additionalProperties:
+ type: string
readOnly: true
CoverLetterList:
type: object