From bc68818ecce5f3e7b192220952bf2253bfa37082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=80=E3=80=85=E6=96=8E?= Date: Tue, 23 Jun 2026 09:31:51 +0000 Subject: [PATCH 1/2] docs: add JSDoc to user routes (#1) --- apps/api/src/routes/users.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/api/src/routes/users.ts b/apps/api/src/routes/users.ts index 8d7f6d2ee4..f8eaa5222a 100644 --- a/apps/api/src/routes/users.ts +++ b/apps/api/src/routes/users.ts @@ -1,15 +1,27 @@ -import { Router } from "express"; +import { Router, type Request, type Response } from "express"; const router = Router(); -router.get("/", (_req, res) => { +/** + * GET /users + * + * Returns a paginated list of users. Currently returns an empty + * array as the service is not yet implemented. + */ +router.get("/", (_req: Request, res: Response) => { res.json({ data: [], message: "User listing is not implemented yet." }); }); -router.post("/", (req, res) => { +/** + * POST /users + * + * Creates a new user with the provided request body data. + * Currently returns a stub user object with a generated id. + */ +router.post("/", (req: Request, res: Response) => { res.status(201).json({ data: { id: "stub-user-id", From 6f74b5b57629239a12d94c95dfa0c4555c3e5608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=80=E3=80=85=E6=96=8E?= Date: Tue, 23 Jun 2026 09:32:04 +0000 Subject: [PATCH 2/2] chore: update agents.json for issue #1 --- contributors/agents.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/contributors/agents.json b/contributors/agents.json index a3fbd7156d..3c4b52fca6 100644 --- a/contributors/agents.json +++ b/contributors/agents.json @@ -1,5 +1,13 @@ { - "agents": [], - "last_updated": "2026-06-03", + "agents": [ + { + "github_username": "syu-toutousai", + "model": "opencode-agent", + "version": "1.0", + "pr_number": 0, + "issue_number": 1 + } + ], + "last_updated": "2026-06-23", "total_contributions": 0 -} +} \ No newline at end of file