diff options
author | Stephen Finucane <stephen@that.guru> | 2020-04-16 00:47:26 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2020-04-18 11:57:28 +0100 |
commit | cdceccaa939a08190dc438fe3614659c3090aa8e (patch) | |
tree | 7b561ba8c37edcd4f6cb9474694525d5ce4f8f62 /docs/api | |
parent | 48f27d587874414df95a03f7ab338f0f029de7db (diff) | |
download | patchwork-cdceccaa939a08190dc438fe3614659c3090aa8e.tar patchwork-cdceccaa939a08190dc438fe3614659c3090aa8e.tar.gz |
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 <stephen@that.guru>
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/schemas/latest/patchwork.yaml | 12 | ||||
-rw-r--r-- | docs/api/schemas/patchwork.j2 | 12 | ||||
-rw-r--r-- | docs/api/schemas/v1.2/patchwork.yaml | 12 |
3 files changed, 27 insertions, 9 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index dbfa0aa..8d5acdd 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 f4628ee..98ca16c 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 1b69229..0007cd2 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: |