swagger fixed for additional fields in register

This commit is contained in:
ilmedova 2022-07-14 15:49:06 +05:00
parent 69f6d327cd
commit cbe6c229ae
2 changed files with 9 additions and 2 deletions

View File

@ -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"}
* )
* )

View File

@ -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"
}
}
}