Update app/controllers/api/users.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
parent
0730cf75c4
commit
fb34c0683d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ App::post('/v1/users')
|
|||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_USER)
|
||||
->param('id', 'uid', new Key(), 'Unique Id. Passing `uid()` will auto generate the id.')
|
||||
->param('userId', 'unique()', new Key(), 'Unique Id. Passing the string `unique()` will auto generate your ID.')
|
||||
->param('email', '', new Email(), 'User email.')
|
||||
->param('password', '', new Password(), 'User password. Must be between 6 to 32 chars.')
|
||||
->param('name', '', new Text(128), 'User name. Max length: 128 chars.', true)
|
||||
|
|
Loading…
Reference in a new issue