anitab-org / anitab-org/mentorship-backend

Error message for field 'name' is not filled

オープン
#573 コメント 11 件 リアクション 1 件 担当者 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 を短くまとめたダイジェスト。