From d11c8e25b982ebc9697ab725a53585781816bba1 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 16 Apr 2020 11:48:29 +0100 Subject: 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 --- docs/api/schemas/v1.2/patchwork.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'docs/api/schemas/v1.2') 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 -- cgit v1.2.3