From 9772be66cbfedb47143c85138c267dc31b8708eb Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:28:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=83=95=E3=82=A9=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E3=81=AE=E5=9B=9E=E7=AD=94=E3=81=AB=E3=81=A4=E3=81=91=E3=82=89?= =?UTF-8?q?=E3=82=8C=E3=82=8B=E3=83=A9=E3=83=99=E3=83=AB=E3=82=92=E7=B7=A8?= =?UTF-8?q?=E9=9B=86=E3=81=99=E3=82=8B=E3=82=A8=E3=83=B3=E3=83=89=E3=83=9D?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=83=88=E3=81=AE=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/endpoints/forms.tsp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/endpoints/forms.tsp b/src/endpoints/forms.tsp index 616732a..755f332 100644 --- a/src/endpoints/forms.tsp +++ b/src/endpoints/forms.tsp @@ -289,6 +289,20 @@ namespace Forms { @statusCode statusCode: 400 | 401 | 403 | 404 | 500; @body body: Error; }; + + @patch + @summary("フォームの回答につけられるラベルを更新する") + op updateLabel( + @body body: { + label_id: uint32; + name: string; + }, + ): { + @statusCode statusCode: 200; + } | { + @statusCode statusCode: 400 | 401 | 403 | 404 | 500; + @body body: Error; + }; } @route("/comment")