From 0dd94cbea6e857896c46d17493725f97369d99f9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jul 2024 16:19:52 +0900 Subject: refactor: remove /api/ prefix from openapi.yaml --- backend/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/main.go') diff --git a/backend/main.go b/backend/main.go index 1787e3c..7f87bb4 100644 --- a/backend/main.go +++ b/backend/main.go @@ -127,7 +127,7 @@ func main() { return } - openApiSpec, err := api.GetSwagger() + openApiSpec, err := api.GetSwaggerWithPrefix("/api") if err != nil { fmt.Printf("Error loading OpenAPI spec\n: %s", err) return -- cgit v1.2.3-70-g09d2