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

Reservation 라우트 경로 정리 #793

Open
Tracked by #621
JeongJiHwan opened this issue Oct 30, 2023 · 0 comments · May be fixed by #795
Open
Tracked by #621

Reservation 라우트 경로 정리 #793

JeongJiHwan opened this issue Oct 30, 2023 · 0 comments · May be fixed by #795
Assignees

Comments

@JeongJiHwan
Copy link
Contributor

JeongJiHwan commented Oct 30, 2023

image

코드에는 있지만 swagger에는 없는 경로 확인
v1 : [GET] api/reservations/
본인이 예약한 책을 확인할 수 있는 api로 확인되나 마이페이지에서는 user api에서 예약한 도서를 확인하고 있습니다.
[GET] api/mypage/reservations 로 변경하는게 맞을까요?

  1. 예약 대기 확인 : [GET] api/reservations/{bookinfo_id}
  2. 예약 검색 : [GET] api/reservations
  3. 예약 생성 : [POST] api/reservations
  4. 예약 취소 : [PATCH] api/reservations/{reservations_id} -> api/reservations/cancel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 할 일
Development

Successfully merging a pull request may close this issue.

1 participant