From: Stephen Finucane Date: Wed, 15 Apr 2020 23:47:26 +0000 (+0100) Subject: docs: Resolve issues with 'bundles' X-Git-Tag: v3.0.0~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdceccaa939a08190dc438fe3614659c3090aa8e;p=thirdparty%2Fpatchwork.git docs: Resolve issues with 'bundles' Errors are reported as a mapping of the field name to an array of errors, not a string. Signed-off-by: Stephen Finucane --- diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index dbfa0aab..8d5acddb 100644 --- a/docs/api/schemas/latest/patchwork.yaml +++ b/docs/api/schemas/latest/patchwork.yaml @@ -2506,15 +2506,21 @@ components: properties: name: title: Name - type: string + type: array + items: + type: string readOnly: true patches: title: Patches - type: string + type: array + items: + type: string readOnly: true public: title: Public - type: string + type: array + items: + type: string ErrorCheckCreate: type: object properties: diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2 index f4628ee2..98ca16cc 100644 --- a/docs/api/schemas/patchwork.j2 +++ b/docs/api/schemas/patchwork.j2 @@ -2607,15 +2607,21 @@ components: properties: name: title: Name - type: string + type: array + items: + type: string readOnly: true patches: title: Patches - type: string + type: array + items: + type: string readOnly: true public: title: Public - type: string + type: array + items: + type: string {% endif %} ErrorCheckCreate: type: object diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml index 1b692290..0007cd26 100644 --- a/docs/api/schemas/v1.2/patchwork.yaml +++ b/docs/api/schemas/v1.2/patchwork.yaml @@ -2506,15 +2506,21 @@ components: properties: name: title: Name - type: string + type: array + items: + type: string readOnly: true patches: title: Patches - type: string + type: array + items: + type: string readOnly: true public: title: Public - type: string + type: array + items: + type: string ErrorCheckCreate: type: object properties: