-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
backend/core/src/main/java/com/rollthedice/backend/domain/bookmark/api/BookmarkApi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.rollthedice.backend.domain.bookmark.api; | ||
|
||
import com.rollthedice.backend.domain.news.dto.response.NewsResponse; | ||
import io.swagger.v3.oas.annotations.Operation; | ||
import io.swagger.v3.oas.annotations.Parameter; | ||
import io.swagger.v3.oas.annotations.enums.ParameterIn; | ||
import io.swagger.v3.oas.annotations.responses.ApiResponse; | ||
import io.swagger.v3.oas.annotations.responses.ApiResponses; | ||
import io.swagger.v3.oas.annotations.security.SecurityRequirement; | ||
import org.springframework.data.domain.Pageable; | ||
|
||
import java.util.List; | ||
|
||
public interface BookmarkApi { | ||
|
||
@Operation( | ||
summary = "북마크 전체 조회", | ||
description = "북마크한 뉴스를 전체 조회합니다.", | ||
security = {@SecurityRequirement(name = "access_token")}, | ||
tags = {"bookmark"} | ||
) | ||
@ApiResponses( | ||
value = { | ||
@ApiResponse( | ||
responseCode = "200", | ||
description = "OK" | ||
) | ||
} | ||
) | ||
List<NewsResponse> getBookmarked( | ||
@Parameter | ||
Pageable pageable | ||
); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters