Browse Source

Merge branch 'feature/item-by-id-endpoint' of jezv___/item_keeper into master

jezvcp 2 tháng trước cách đây
mục cha
commit
ac5d910b47
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      main.py

+ 4 - 0
main.py

@@ -9,3 +9,7 @@ def read_root():
 @app.get("/items")
 def get_items():
     return {"items": ["item1", "item2", "item3"]}
+
+@app.get("/item")
+def get_items():
+    return "item1"