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

@@ -6,7 +6,7 @@ import roleFindUnique from "./findUnique";
import roleUpdate from "./updt";
const Role = new Elysia({
prefix: "/api/role",
prefix: "/role",
tags: ["User / Role"],
})