From 60a2b145d45652d38fc48a9ce03ae238b73bb5e2 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Sun, 23 Jun 2024 21:05:49 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=9B=9E=E7=AD=94=E3=81=AE=E3=83=A1?= =?UTF-8?q?=E3=82=BF=E3=83=87=E3=83=BC=E3=82=BF=E3=82=92=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=A8=E3=83=B3=E3=83=89=E3=83=9D=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=83=88=E3=81=AE=E3=83=87=E3=83=BC=E3=82=BF=E5=8F=97?= =?UTF-8?q?=E5=8F=96=E3=82=92=E3=82=AF=E3=82=A8=E3=83=AA=E3=81=A7=E3=81=AF?= =?UTF-8?q?=E3=81=AA=E3=81=8Fbody=E3=81=AEjson=E3=81=A7=E5=8F=97=E3=81=91?= =?UTF-8?q?=E5=8F=96=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- endpoints/forms.tsp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/endpoints/forms.tsp b/endpoints/forms.tsp index 814e257..36c19b3 100644 --- a/endpoints/forms.tsp +++ b/endpoints/forms.tsp @@ -239,7 +239,12 @@ namespace Forms { */ @patch @summary("回答のメタデータを編集する") - op update(@path answerId: uint32, @query title?: string): { + op update( + @path answerId: uint32, + @body body: { + title?: string; + }, + ): { @statusCode statusCode: 200; } | { @statusCode statusCode: 400 | 401 | 403 | 404 | 500;