anitab-org / anitab-org/mentorship-backend

Error message for field 'name' is not filled

未关闭
#573 11 条评论 1 个 reaction 已指派 1 人 已指派给 @umichritikashetty 在 GitHub 查看
Category: Coding Category: Documentation/Training First Timers Only
主要语言
Python
星标
200
派生
449
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。