diff --git a/backend/emm-sale/src/documentTest/asciidoc/index.adoc b/backend/emm-sale/src/documentTest/asciidoc/index.adoc index e599729fc..088947ebc 100644 --- a/backend/emm-sale/src/documentTest/asciidoc/index.adoc +++ b/backend/emm-sale/src/documentTest/asciidoc/index.adoc @@ -667,3 +667,25 @@ include::{snippets}/get-all-notifications/http-response.adoc[] .HTTP response 설명 include::{snippets}/get-all-notifications/response-fields.adoc[] + +=== `PATCH` : 알림 읽음 상태 변경 + +.HTTP request +include::{snippets}/patch-notification-read/http-request.adoc[] + +.HTTP request 설명 +include::{snippets}/patch-notification-read/path-parameters.adoc[] + +.HTTP response +include::{snippets}/patch-notification-read/http-response.adoc[] + +=== `DELETE` : 알림 삭제 + +.HTTP request +include::{snippets}/delete-notifications/http-request.adoc[] + +.HTTP request 설명 +include::{snippets}/delete-notifications/request-fields.adoc[] + +.HTTP response +include::{snippets}/delete-notifications/http-response.adoc[] diff --git a/backend/emm-sale/src/documentTest/java/com/emmsale/NotificationApiTest.java b/backend/emm-sale/src/documentTest/java/com/emmsale/NotificationApiTest.java index 6772d7b31..f80b1c7ad 100644 --- a/backend/emm-sale/src/documentTest/java/com/emmsale/NotificationApiTest.java +++ b/backend/emm-sale/src/documentTest/java/com/emmsale/NotificationApiTest.java @@ -131,7 +131,7 @@ void test_read() throws Exception { void test_deleteBatch() throws Exception { //given final RequestFieldsSnippet requestFields = requestFields( - fieldWithPath("deleteIds").description("삭제할 댓글 & 피드 알림 ID들") + fieldWithPath("deleteIds").description("삭제할 알림 ID들") ); final NotificationDeleteRequest request =