From 13c74ef1980916a7fee77626b28ed23e27a99038 Mon Sep 17 00:00:00 2001 From: Falmer Date: Mon, 23 Feb 2026 12:08:32 +0300 Subject: [PATCH] Update flight service --- flight-service/index.md | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/flight-service/index.md b/flight-service/index.md index 79191d9..a32341e 100644 --- a/flight-service/index.md +++ b/flight-service/index.md @@ -11,22 +11,28 @@ PUT /api/users HTTP/1.1 Accept: application/json ``` -```json title="Request Body Example" -{ - "first_name": "Ivan", - "last_name": "Ivanov", - "age": 25 -} -``` +
+ Request Example + ```json title="Body" + { + "first_name": "Ivan", + "last_name": "Ivanov", + "age": 25 + } + ``` +
-```json title="Response Body Example" -{ - "id": 1, - "first_name": "Ivan", - "last_name": "Ivanov", - "age": 25 -} -``` +
+ Response Example + ```json title="Body" + { + "id": 1, + "first_name": "Ivan", + "last_name": "Ivanov", + "age": 25 + } + ``` +
### Получение пользователя