From 9626abce95f1c0fa8a812118d0eae9d1d27b681c 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 77076b92163ba28129c6dcda5724d42ab3ccd94f) (cherry picked from commit 1bbfdf308b7eec41c9af71aee8fa324cfce87230) (cherry picked from commit e90325f6401667aee6383efd66da84c71404e7a3) --- 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 2f93144eaa..b6bd725ca8 100644 --- a/Makefile +++ b/Makefile @@ -143,7 +143,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