1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-03-17 20:42:26 +02:00

style fix

This commit is contained in:
Sergey Konstantinov 2022-01-16 23:28:53 +03:00
parent c20048cbc5
commit 7dd6587b94

View File

@ -20,7 +20,7 @@ POST /v1/offers/search
// Данные о заведении
"place": { "name", "location" },
// Данные о кофе-машине
"coffee-machine": { "id", "brand", "type" },
"coffee_machine": { "id", "brand", "type" },
// Как добраться
"route": { "distance", "duration", "location_tip" },
// Предложения напитков
@ -90,7 +90,7 @@ POST /v1/orders/{id}/cancel
// соответствующей указанному рецепту
// на указанной кофе-машине
POST /v1/program-matcher
{ "recipe", "coffee-machine" }
{ "recipe", "coffee_machine" }
{ "program_id" }
```