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; } /**