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

[feat] 주문 생성 시 수량 유효성 검증 #36

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jw427
Copy link
Owner

@jw427 jw427 commented Sep 10, 2024

Issue

PR 타입(하나 이상의 PR 타입을 선택해주세요)

  • 기능 추가
  • 기능 삭제
  • 버그 수정
  • 의존성, 환경 변수, 빌드 관련 코드 업데이트

반영 브랜치

feat/quantity_validation -> dev

변경 사항

  • 수량의 소수점을 두번째 자리까지만 허용

테스트 결과

Response : 실패시

  • 수량을 소수점 세번째 자리 이상 입력하는 경우
    400 Bad Request
{
    "status": 400,
    "message": "수량 소수점은 둘째 자리까지만 허용됩니다."
}

- 수량의 소수점을 두번째 자리까지만 허용
@jw427 jw427 added the feat label Sep 10, 2024
@jw427 jw427 self-assigned this Sep 10, 2024
@jw427 jw427 linked an issue Sep 10, 2024 that may be closed by this pull request
4 tasks
@jw427 jw427 merged commit 3b2c92d into dev Sep 10, 2024
@jw427 jw427 deleted the feat/quantity_validation branch September 10, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

주문 생성 시 수량 유효성 검증
1 participant