From d09f6d8d8c6d852ac1e0fcfc9947ae012eba0cb1 Mon Sep 17 00:00:00 2001 From: Falmer Date: Mon, 23 Feb 2026 12:13:32 +0300 Subject: [PATCH] Update flight service --- flight-service/index.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/flight-service/index.md b/flight-service/index.md index 799d7a8..e672044 100644 --- a/flight-service/index.md +++ b/flight-service/index.md @@ -45,7 +45,10 @@ GET /api/users/{id} HTTP/1.1 Accept: application/json ``` -```json title="Response Body Example" +
+ Response Example + +```json title="Body" { "id": 1, "first_name": "Ivan", @@ -53,6 +56,7 @@ Accept: application/json "age": 25 } ``` +
### Получение информации о самолете @@ -63,7 +67,11 @@ POST /api/airplane/{id} HTTP/1.1 Accept: application/json ``` -```json title="Response Body Example" + +
+ Response Example + +```json title="Body" { "id": 1, "name": "Airplane #1", @@ -71,6 +79,7 @@ Accept: application/json "max_cargo_weight": 7350 } ``` +
### Список всех самолетов @@ -90,7 +99,10 @@ Accept: application/json -```json title="Response Body Example" +
+ Response Example + +```json title="Body" [ { "id": 1, @@ -101,6 +113,7 @@ Accept: application/json ... ] ``` +
### Получение информации об аэропорте