Skip to content

Commit

Permalink
fix: メッセージの取得用 API の不要なネストを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Nov 6, 2024
1 parent 6e6e6bc commit cdfd22c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/endpoints/forms.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cdfd22c

Please sign in to comment.