swagger fixed for additional fields in register
This commit is contained in:
parent
69f6d327cd
commit
cbe6c229ae
|
|
@ -150,7 +150,6 @@ public function login(LoginRequest $request){
|
|||
* property="country",
|
||||
* type="integer",
|
||||
* ),
|
||||
*
|
||||
* example={"firstname":"Mahri", "lastname":"Ilmedova" ,"email": "ilmedovamahri@gmail.com", "password": 12345678, "country": 1,"account_type":"business"}
|
||||
* )
|
||||
* )
|
||||
|
|
|
|||
|
|
@ -130,6 +130,12 @@
|
|||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"account_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
|
|
@ -137,7 +143,9 @@
|
|||
"firstname": "Mahri",
|
||||
"lastname": "Ilmedova",
|
||||
"email": "ilmedovamahri@gmail.com",
|
||||
"password": 12345678
|
||||
"password": 12345678,
|
||||
"country": 1,
|
||||
"account_type": "business"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue