fix: strip out some unnecessary functionality
This commit is contained in:
parent
187092b38a
commit
0acfbf5685
|
@ -19,7 +19,18 @@ paths:
|
|||
type: object
|
||||
properties:
|
||||
user:
|
||||
$ref: '#/components/schemas/User'
|
||||
type: object
|
||||
properties:
|
||||
last_name:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
middle_name:
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
phone:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
example: 'strong_password123'
|
||||
|
@ -37,8 +48,6 @@ paths:
|
|||
|
||||
| key | val |
|
||||
| --- | --- |
|
||||
| `bad_password` | the password is too weak. it must score at least 3 by zxcvbn |
|
||||
| `bad_email` | email doesn't match the email regex |
|
||||
| `email_taken` | the email is already registered. user is expected to either log in or reset password |
|
||||
|
||||
This error also might be sent by laravel if your body is corrupted
|
||||
|
|
Loading…
Reference in New Issue