Metod va yo‘l juftligi — API ning bitta «eshigi»: masalan, POST /orders.
@app.get("/dishes/{dish_id}")