fix(api): clean up redundant /api prefixes and fix swagger documentation

This commit is contained in:
2026-04-01 15:24:12 +08:00
parent 7d9b7b0c60
commit 3cd6fcbd81
14 changed files with 39 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ import Elysia from "elysia";
import searchFindMany from "./findMany";
const Search = new Elysia({
prefix: "/api/search",
prefix: "/search",
tags: ["Search"],
})
.get("/findMany", searchFindMany);