Skip to content

[web-34-1] 관리자 모집 공고 수정 API 구현#23

Open
Chunwol wants to merge 1 commit into
feature/web-34from
feature/web-34-1
Open

[web-34-1] 관리자 모집 공고 수정 API 구현#23
Chunwol wants to merge 1 commit into
feature/web-34from
feature/web-34-1

Conversation

@Chunwol
Copy link
Copy Markdown
Member

@Chunwol Chunwol commented May 22, 2026

작업 내용

관리자 페이지에서 모집 공고 정보를 수정할 수 있는 API를 구현합니다.

변경 사항

  • PATCH /api/v1/admin/recruitment 엔드포인트 구현
  • RecruitmentUpdateRequestDto 추가
  • AdminRecruitmentService.update() 구현
  • 시작일/종료일 유효성 검증 (모집 기간, 면접 기간 각각 독립 검증)

API

모집 공고 수정

PATCH /api/v1/admin/recruitment

Request:

{
  "title": "2026년 ONE 신입부원 모집",
  "target": "웹응용소프트웨어공학과 1~3학년",
  "recruitmentStart": "2026-05-01",
  "recruitmentEnd": "2026-05-31",
  "interviewStart": "2026-06-01",
  "interviewEnd": "2026-06-15",
  "notificationDate": "2026-06-20"
}

Response: 200 OK

{
  "success": true,
  "data": {
    "title": "2026년 ONE 신입부원 모집",
    "target": "웹응용소프트웨어공학과 1~3학년",
    "recruitmentStart": "2026-05-01",
    "recruitmentEnd": "2026-05-31",
    "interviewStart": "2026-06-01",
    "interviewEnd": "2026-06-15",
    "notificationDate": "2026-06-20",
    "isRecruiting": true
  }
}

테스트

  • PATCH /api/v1/admin/recruitment → 200 OK ✅
  • 시작일 > 종료일 시 400 INVALID_INPUT ✅

@Chunwol Chunwol requested a review from chldPDms May 22, 2026 07:19
@Chunwol Chunwol self-assigned this May 22, 2026
@Chunwol Chunwol added the enhancement New feature or request label May 22, 2026
@Chunwol Chunwol force-pushed the feature/web-34-1 branch from f707381 to 27700b2 Compare May 22, 2026 07:32
@Chunwol Chunwol force-pushed the feature/web-34-1 branch from 27700b2 to 111fcc5 Compare May 23, 2026 11:06
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Chunwol Chunwol force-pushed the feature/web-34-1 branch from 111fcc5 to 2d46083 Compare May 23, 2026 16:02
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