Update code in endpoints/newendpoint.get.py
This commit is contained in:
parent
836184018d
commit
cfd40668cb
@ -0,0 +1,9 @@
|
|||||||
|
# Entity: Test
|
||||||
|
|
||||||
|
from fastapi import APIRouter, status
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.get("/newendpoint", status_code=status.HTTP_200_OK)
|
||||||
|
async def test_endpoint():
|
||||||
|
return {"message": "this stuff works"}
|
Loading…
x
Reference in New Issue
Block a user