Skip to content

Commit cdcecca

Browse files
committed
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 <[email protected]>
1 parent 48f27d5 commit cdcecca

File tree

3 files changed

+27
-9
lines changed

3 files changed

+27
-9
lines changed

docs/api/schemas/latest/patchwork.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,15 +2506,21 @@ components:
25062506
properties:
25072507
name:
25082508
title: Name
2509-
type: string
2509+
type: array
2510+
items:
2511+
type: string
25102512
readOnly: true
25112513
patches:
25122514
title: Patches
2513-
type: string
2515+
type: array
2516+
items:
2517+
type: string
25142518
readOnly: true
25152519
public:
25162520
title: Public
2517-
type: string
2521+
type: array
2522+
items:
2523+
type: string
25182524
ErrorCheckCreate:
25192525
type: object
25202526
properties:

docs/api/schemas/patchwork.j2

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2607,15 +2607,21 @@ components:
26072607
properties:
26082608
name:
26092609
title: Name
2610-
type: string
2610+
type: array
2611+
items:
2612+
type: string
26112613
readOnly: true
26122614
patches:
26132615
title: Patches
2614-
type: string
2616+
type: array
2617+
items:
2618+
type: string
26152619
readOnly: true
26162620
public:
26172621
title: Public
2618-
type: string
2622+
type: array
2623+
items:
2624+
type: string
26192625
{% endif %}
26202626
ErrorCheckCreate:
26212627
type: object

docs/api/schemas/v1.2/patchwork.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,15 +2506,21 @@ components:
25062506
properties:
25072507
name:
25082508
title: Name
2509-
type: string
2509+
type: array
2510+
items:
2511+
type: string
25102512
readOnly: true
25112513
patches:
25122514
title: Patches
2513-
type: string
2515+
type: array
2516+
items:
2517+
type: string
25142518
readOnly: true
25152519
public:
25162520
title: Public
2517-
type: string
2521+
type: array
2522+
items:
2523+
type: string
25182524
ErrorCheckCreate:
25192525
type: object
25202526
properties:

0 commit comments

Comments
 (0)