anitab-org / anitab-org/mentorship-backend

Error message for field 'name' is not filled

Đang mở
#573 11 bình luận 1 reaction 1 người được giao Được giao cho @umichritikashetty Xem trên GitHub
Category: Coding Category: Documentation/Training First Timers Only
Ngôn ngữ chính
Python
Star
200
Fork
449
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

If the field 'name' is not filled in the input an appropriate error message should be showned and listed under the 400 Responses.
**To Reproduce**

Steps to reproduce the behavior:

1. Go to 'User-Register'
2. {
"name": "",
"username": "testua",
"password": "testua123",
"email": "voxij69223@mailop7.com",
"terms_and_conditions_checked": true,
"need_mentoring": true,
"available_to_mentor": true
}

3. Click on 'Execute'.
4. Scroll down to 'Response'
5.
![Screenshot (16)](https://user-images.githubusercontent.com/50888936/81107384-b8387300-8f34-11ea-9e5d-063128b7ed9f.png)

**Expected behavior**
The error message should be listed under 400 error messages

**Desktop (please complete the following information):**
- OS: Windows10
- Browser Chrome

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.