From 11ae7f6e85395b287c6f4108c531aa1a81fd964c Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
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)
---
 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 0ef1796ef4..709b418935 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