fix: strip out some unnecessary functionality
This commit is contained in:
parent
187092b38a
commit
0acfbf5685
|
@ -19,7 +19,18 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
user:
|
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:
|
password:
|
||||||
type: string
|
type: string
|
||||||
example: 'strong_password123'
|
example: 'strong_password123'
|
||||||
|
@ -37,8 +48,6 @@ paths:
|
||||||
|
|
||||||
| key | val |
|
| 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 |
|
| `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
|
This error also might be sent by laravel if your body is corrupted
|
||||||
|
|
Loading…
Reference in New Issue