From 6df36a1363370b00f54c31d7a95bff0e50710558 Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:10:59 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20MinimalForm=20=E3=81=AB=20answer=5Fvisi?= =?UTF-8?q?bility=20=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/endpoints/forms.tsp | 2 +- src/models/form.tsp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/endpoints/forms.tsp b/src/endpoints/forms.tsp index 0070c00..8297b71 100644 --- a/src/endpoints/forms.tsp +++ b/src/endpoints/forms.tsp @@ -168,8 +168,8 @@ namespace Forms { @statusCode statusCode: 200; @body body: Answer[]; } | { - @statusCode statusCode: 400 | 401 | 404 | 500; @body body: Error; + @statusCode statusCode: 400 | 401 | 404 | 500; }; } diff --git a/src/models/form.tsp b/src/models/form.tsp index c91ae03..12b7c65 100644 --- a/src/models/form.tsp +++ b/src/models/form.tsp @@ -13,6 +13,7 @@ model MinimalForm { title: string; description?: string; response_period: ResponsePeriod; + answer_visibility: Visibility; } /**