[PATCH 3/4] docs: Add missing series index schema

Stephen Finucane stephen at that.guru
Mon Dec 9 03:04:48 AEDT 2019


On Sat, 2019-12-07 at 17:46 +0100, Mete Polat wrote:
> Fixes: 7d8e24bc84bd ("docs: Start documenting API using OpenAPI")
> Signed-off-by: Mete Polat <metepolat2000 at gmail.com>

Need some time to review the rest of the series, but this is a no
brainer so I've gone ahead and applied it. Thanks!

Reviewed-by: Stephen Finucane <stephen at that.guru>

> ---
>  docs/api/schemas/latest/patchwork.yaml | 5 +++++
>  docs/api/schemas/patchwork.j2          | 5 +++++
>  docs/api/schemas/v1.0/patchwork.yaml   | 5 +++++
>  docs/api/schemas/v1.1/patchwork.yaml   | 5 +++++
>  docs/api/schemas/v1.2/patchwork.yaml   | 5 +++++
>  5 files changed, 25 insertions(+)
> 
> diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml
> index fc23cdb03078..a5e235be936d 100644
> --- a/docs/api/schemas/latest/patchwork.yaml
> +++ b/docs/api/schemas/latest/patchwork.yaml
> @@ -1353,6 +1353,11 @@ components:
>            type: string
>            format: uri
>            readOnly: true
> +        series:
> +          title: Series URL
> +          type: string
> +          format: uri
> +          readOnly: true
>      Bundle:
>        required:
>          - name
> diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2
> index 85f3977ca15c..196d78466b55 100644
> --- a/docs/api/schemas/patchwork.j2
> +++ b/docs/api/schemas/patchwork.j2
> @@ -1364,6 +1364,11 @@ components:
>            type: string
>            format: uri
>            readOnly: true
> +        series:
> +          title: Series URL
> +          type: string
> +          format: uri
> +          readOnly: true
>      Bundle:
>        required:
>          - name
> diff --git a/docs/api/schemas/v1.0/patchwork.yaml b/docs/api/schemas/v1.0/patchwork.yaml
> index b01cbcfa904a..6c7c068aeb76 100644
> --- a/docs/api/schemas/v1.0/patchwork.yaml
> +++ b/docs/api/schemas/v1.0/patchwork.yaml
> @@ -1218,6 +1218,11 @@ components:
>            type: string
>            format: uri
>            readOnly: true
> +        series:
> +          title: Series URL
> +          type: string
> +          format: uri
> +          readOnly: true
>      Bundle:
>        required:
>          - name
> diff --git a/docs/api/schemas/v1.1/patchwork.yaml b/docs/api/schemas/v1.1/patchwork.yaml
> index f85c8711cb56..babc972ace35 100644
> --- a/docs/api/schemas/v1.1/patchwork.yaml
> +++ b/docs/api/schemas/v1.1/patchwork.yaml
> @@ -1218,6 +1218,11 @@ components:
>            type: string
>            format: uri
>            readOnly: true
> +        series:
> +          title: Series URL
> +          type: string
> +          format: uri
> +          readOnly: true
>      Bundle:
>        required:
>          - name
> diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml
> index b4d1cf689009..d7b4d2957cff 100644
> --- a/docs/api/schemas/v1.2/patchwork.yaml
> +++ b/docs/api/schemas/v1.2/patchwork.yaml
> @@ -1353,6 +1353,11 @@ components:
>            type: string
>            format: uri
>            readOnly: true
> +        series:
> +          title: Series URL
> +          type: string
> +          format: uri
> +          readOnly: true
>      Bundle:
>        required:
>          - name



More information about the Patchwork mailing list