From 35fdd609a4f8d077d1695ea8f26d2a187b1d06d4 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 15 Dec 2023 20:06:25 +0100 Subject: [PATCH] update api def with new repo field --- openapi_alhp.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/openapi_alhp.yaml b/openapi_alhp.yaml index 8862342..854c999 100644 --- a/openapi_alhp.yaml +++ b/openapi_alhp.yaml @@ -45,7 +45,13 @@ paths: - unknown - name: pkgbase in: query - description: Pkgbase value to filter for + description: Pkgbase value to filter + required: false + schema: + type: string + - name: repo + in: query + description: Repo to filter required: false schema: type: string @@ -110,11 +116,15 @@ components: pkgbase: type: string examples: ["linux-zen"] + repo: + type: string + examples: ["extra-x86-64-v4"] split_packages: type: array items: type: string - examples: ["linux-zen", "linux-zen-headers", "linux-zen-docs"] + examples: + - ["linux-zen", "linux-zen-headers", "linux-zen-docs"] status: type: string examples: [latest] @@ -159,6 +169,7 @@ components: examples: ["Fri, 15 Dec 2023 03:43:11 UTC"] peak_mem: description: Peak memory the package used while building. Is formatted in a human readable format. + examples: ["5 GB"] Stats: type: object