From 52145998b66129ac1bc736d42ce7f256a3cd3607 Mon Sep 17 00:00:00 2001 From: Min-Ho CHO <66549638+chominho96@users.noreply.github.com> Date: Sat, 6 Apr 2024 22:17:09 +0900 Subject: [PATCH] hotfix: fix swagger --- .../message/controller/MessageControllerDocs.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/java/unithon/team5/message/controller/MessageControllerDocs.java b/src/main/java/unithon/team5/message/controller/MessageControllerDocs.java index 17a4d1e..1229ca8 100644 --- a/src/main/java/unithon/team5/message/controller/MessageControllerDocs.java +++ b/src/main/java/unithon/team5/message/controller/MessageControllerDocs.java @@ -81,7 +81,12 @@ ResponseEntity getUnreadMessages( \t\t{ \t\t\t"id": "메시지 고유 UUID", \t\t\t"senderName": "보낸 사람이 설정한 닉네임", - \t\t\t"eventId": "(있는 경우만) 대상 event id", + \t\t\t"event": { + \t\t\t\t"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + \t\t\t\t"type": "CHEER_UP", + \t\t\t\t"content": "string", + \t\t\t\t"plannedAt": "2024-04-06" + \t\t\t}, \t\t\t"content": "메시지 내용", \t\t\t"sentAt": "2024-04-06", \t\t\t"type": "메시지 타입" @@ -89,7 +94,12 @@ ResponseEntity getUnreadMessages( \t\t{ \t\t\t"id": "메시지 고유 UUID", \t\t\t"senderName": "보낸 사람이 설정한 닉네임", - \t\t\t"eventId": "(있는 경우만) 대상 event id", + \t\t\t"event": { + \t\t\t\t"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + \t\t\t\t"type": "CHEER_UP", + \t\t\t\t"content": "string", + \t\t\t\t"plannedAt": "2024-04-06" + \t\t\t}, \t\t\t"content": "메시지 내용", \t\t\t"sentAt": "2024-04-06", \t\t\t"type": "메시지 타입"