Skip to content

Commit

Permalink
Merge pull request #176 from GiganticMinecraft/fix/get-messages-schema
Browse files Browse the repository at this point in the history
メッセージの取得用 API の不要なネストを削除
  • Loading branch information
rito528 authored Nov 6, 2024
2 parents 6e6e6bc + cdfd22c commit 74f77db
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 74f77db

Please sign in to comment.