From 25e96cfcb28859406329090eb0c7990bea4e73eb Mon Sep 17 00:00:00 2001 From: Gusted Date: Sat, 21 Oct 2023 15:30:21 +0200 Subject: [PATCH] [API] Move forgejo api file (squash) - Move the file to accommodate https://codeberg.org/forgejo/forgejo/commit/faa28b5a44912f1c63afddab9396bae9e6fe061c (cherry picked from commit bce89351d251bfa18c677b30bc7da80856d919fb) (cherry picked from commit 11ae7f6e85395b287c6f4108c531aa1a81fd964c) --- Makefile | 2 +- public/{ => assets}/forgejo/api.v1.yml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename public/{ => assets}/forgejo/api.v1.yml (100%) diff --git a/Makefile b/Makefile index 986ba4a72b..bb5b30ebed 100644 --- a/Makefile +++ b/Makefile @@ -147,7 +147,7 @@ ifdef DEPS_PLAYWRIGHT PLAYWRIGHT_FLAGS += --with-deps endif -FORGEJO_API_SPEC := public/forgejo/api.v1.yml +FORGEJO_API_SPEC := public/assets/forgejo/api.v1.yml SWAGGER_SPEC := templates/swagger/v1_json.tmpl SWAGGER_SPEC_S_TMPL := s|"basePath": *"/api/v1"|"basePath": "{{AppSubUrl \| JSEscape \| Safe}}/api/v1"|g diff --git a/public/forgejo/api.v1.yml b/public/assets/forgejo/api.v1.yml similarity index 100% rename from public/forgejo/api.v1.yml rename to public/assets/forgejo/api.v1.yml