Update flight service
This commit is contained in:
@@ -11,15 +11,20 @@ PUT /api/users HTTP/1.1
|
|||||||
Accept: application/json
|
Accept: application/json
|
||||||
```
|
```
|
||||||
|
|
||||||
```json title="Request Body Example"
|
<details>
|
||||||
|
<summary>Request Example</summary>
|
||||||
|
```json title="Body"
|
||||||
{
|
{
|
||||||
"first_name": "Ivan",
|
"first_name": "Ivan",
|
||||||
"last_name": "Ivanov",
|
"last_name": "Ivanov",
|
||||||
"age": 25
|
"age": 25
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
```json title="Response Body Example"
|
<details>
|
||||||
|
<summary>Response Example</summary>
|
||||||
|
```json title="Body"
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"first_name": "Ivan",
|
"first_name": "Ivan",
|
||||||
@@ -27,6 +32,7 @@ Accept: application/json
|
|||||||
"age": 25
|
"age": 25
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
### Получение пользователя
|
### Получение пользователя
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user