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
+1
View File
@@ -368,5 +368,6 @@ export const gameStatsRoutes = new Elysia({ prefix: "/games", detail: { tags: ["
},
{
params: t.Object({ gameId: t.String() }),
detail: { description: "Aggregated performance statistics for a game — boxplot, historical, upscaler stats, FPS ranges, device breakdown, and battery life estimates." },
},
)