From 471f42661b5c6b923f74830f610193856652d828 Mon Sep 17 00:00:00 2001 From: Thomas Carmet <8408330+tcarmet@users.noreply.github.com> Date: Fri, 19 Jul 2024 22:27:55 +0000 Subject: [PATCH] Fixing ghec open api schema --- tests/images/github-mock/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/images/github-mock/Dockerfile b/tests/images/github-mock/Dockerfile index 5973280e..94ccb36d 100644 --- a/tests/images/github-mock/Dockerfile +++ b/tests/images/github-mock/Dockerfile @@ -22,7 +22,8 @@ RUN curl -O -L https://raw.githubusercontent.com/github/rest-api-description/mai # - "server-statistics-packages.yaml" -> "#/components/schemas/server-statistics-packages" RUN sed -i 's/server-statistics-actions.yaml/#\/components\/schemas\/server-statistics-actions/g' ghec.2022-11-28.json \ - && sed -i 's/server-statistics-packages.yaml/#\/components\/schemas\/server-statistics-packages/g' ghec.2022-11-28.json + && sed -i 's/server-statistics-packages.yaml/#\/components\/schemas\/server-statistics-packages/g' ghec.2022-11-28.json \ + && sed -i 's/server-statistics-advisory-db.yaml/#\/components\/schemas\/server-statistics-advisory-db/g' ghec.2022-11-28.json ENTRYPOINT [ "prism" ]