Skip to content

[web-35] 관리자 캘린더 일정 생성 API 구현#24

Merged
Chunwol merged 1 commit into
developfrom
feature/web-35
May 23, 2026
Merged

[web-35] 관리자 캘린더 일정 생성 API 구현#24
Chunwol merged 1 commit into
developfrom
feature/web-35

Conversation

@Chunwol
Copy link
Copy Markdown
Member

@Chunwol Chunwol commented May 22, 2026

작업 내용

관리자 페이지에서 캘린더 일정을 생성할 수 있는 API를 구현합니다.

변경 사항

  • POST /api/v1/admin/calendar 엔드포인트 구현
  • CalendarSchedule 엔티티 추가
  • CalendarSaveRequestDto, CalendarResponseDto 추가
  • CalendarScheduleRepository 추가
  • AdminCalendarController, AdminCalendarService 추가
  • 시작일/종료일 유효성 검증

API

캘린더 일정 생성

POST /api/v1/admin/calendar

Request:

{
  "title": "MT",
  "startDate": "2026-05-01",
  "endDate": "2026-05-03"
}

Response: 201 Created

{
  "success": true,
  "data": {
    "calendarId": 1,
    "title": "MT",
    "startDate": "2026-05-01",
    "endDate": "2026-05-03"
  }
}

테스트

  • POST /api/v1/admin/calendar → 201 Created ✅
  • 제목 미입력 시 400 에러 ✅
  • 시작일 > 종료일 시 400 INVALID_INPUT ✅

@Chunwol Chunwol requested a review from chldPDms May 22, 2026 07:28
@Chunwol Chunwol self-assigned this May 22, 2026
@Chunwol Chunwol added the enhancement New feature or request label May 22, 2026
@Chunwol Chunwol merged commit 03fca82 into develop May 23, 2026
Chunwol added a commit that referenced this pull request May 24, 2026
[web-35] 관리자 캘린더 일정 생성 API 구현
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant