Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Event API를 추가합니다. #95

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: event query from page to prev and next
litsynp committed Dec 23, 2024
commit 3ebf1e61c33c9f20e0a41821f6d5e727d9726e1c
3 changes: 2 additions & 1 deletion cmd/server/handler/event_handler.go
Original file line number Diff line number Diff line change
@@ -66,7 +66,8 @@ func generateDummyEvent() event.ShortTermView {
// @Accept json
// @Produce json
// @Param author_id query string false "작성자 ID"
// @Param page query int false "페이지 번호" default(1)
// @Param prev query int false "이전 페이지"
// @Param next query int false "다음 페이지"
// @Param size query int false "페이지 사이즈" default(20)
// @Success 200 {object} pnd.CursorPaginatedView[event.View]
// @Router /events [get]