Skip to content

Commit

Permalink
feat : 삭제, 읽음 상태 변경 adoc 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
java-saeng committed Sep 29, 2023
1 parent 1ccee32 commit 4d5176b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions backend/emm-sale/src/documentTest/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 4d5176b

Please sign in to comment.