docs: add OpenAPI descriptions and response schemas for all routes

This commit is contained in:
2026-05-16 16:03:52 +08:00
parent c22c1842d0
commit 6737761151
5 changed files with 63 additions and 0 deletions
+3
View File
@@ -528,5 +528,8 @@ export const searchUnifiedRoutes = new Elysia({ prefix: "/search", detail: { tag
isFree: t.Optional(t.String()),
hasMultiplayer: t.Optional(t.String()),
}),
detail: {
description: "Unified search across local database and Steam store. Returns both synced games (with performance data) and Steam-only results.",
},
},
)