aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/main.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-28 16:19:52 +0900
committernsfisis <nsfisis@gmail.com>2024-07-28 17:12:12 +0900
commit0dd94cbea6e857896c46d17493725f97369d99f9 (patch)
tree8d324c16eecfb3fb510488c9339e9c4c4a0692ce /backend/main.go
parentd24c19963f8d0d17d6db93b418cc9d644693c868 (diff)
downloadiosdc-japan-2025-albatross-0dd94cbea6e857896c46d17493725f97369d99f9.tar.gz
iosdc-japan-2025-albatross-0dd94cbea6e857896c46d17493725f97369d99f9.tar.zst
iosdc-japan-2025-albatross-0dd94cbea6e857896c46d17493725f97369d99f9.zip
refactor: remove /api/ prefix from openapi.yaml
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go2
1 files changed, 1 insertions, 1 deletions
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