From cdfd22c2fabaea89ec0961d90bb6901fa7ca1647 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Thu, 7 Nov 2024 01:03:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=AE=E5=8F=96=E5=BE=97=E7=94=A8=20API=20=E3=81=AE?= =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AA=E3=83=8D=E3=82=B9=E3=83=88=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/endpoints/forms.tsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/endpoints/forms.tsp b/src/endpoints/forms.tsp index 2b7a938..b3f7f77 100644 --- a/src/endpoints/forms.tsp +++ b/src/endpoints/forms.tsp @@ -327,9 +327,7 @@ namespace Forms { @summary("メッセージの一覧取得") op messages(@path answerId: uint32): { @statusCode statusCode: 200; - @body body: { - messages: Message[]; - }; + @body body: Message[]; } | { @statusCode statusCode: 400 | 401 | 403 | 500; @body body: Error;