Update code in endpoints/books.get.py
This commit is contained in:
parent
90115cc19e
commit
4ad884b2e0
7
endpoints/books.get.py
Normal file
7
endpoints/books.get.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from fastapi import APIRouter
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.get("/books", status_code=200, response_model=str)
|
||||||
|
async def say_good_evening():
|
||||||
|
return "Good evening"
|
Loading…
x
Reference in New Issue
Block a user