Added project structure and basic data models
This commit is contained in:
13
spoolson/api/v1/router.py
Normal file
13
spoolson/api/v1/router.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""Router setup for the v1 version of the API."""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from . import filament, spool, vendor
|
||||
|
||||
router = APIRouter(
|
||||
prefix="/v1",
|
||||
tags=["v1"],
|
||||
)
|
||||
router.include_router(filament.router)
|
||||
router.include_router(spool.router)
|
||||
router.include_router(vendor.router)
|
||||
Reference in New Issue
Block a user