Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDuPont committed Mar 28, 2024
1 parent bd756f3 commit f8cee27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ def read_root():
return {"Hello": "World"}








@app.get("/items/{item_id}")
def read_item(item_id: int, q: Union[str, None] = None):
return {"item_id": item_id, "q": q}

0 comments on commit f8cee27

Please sign in to comment.