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 ... ] ``` +
### Получение информации об аэропорте