Init
This commit is contained in:
parent
604ee83631
commit
d3e990384d
9 changed files with 118 additions and 0 deletions
0
app/api/__init__.py
Normal file
0
app/api/__init__.py
Normal file
8
app/api/v1.py
Normal file
8
app/api/v1.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/", summary="Main API")
|
||||
async def root():
|
||||
return {"message": "Witaj w API v12"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue