From f0b314fd7cca077e5ecc27cf3eecb261b0f058f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Fri, 14 Oct 2022 22:47:48 +0000 Subject: [PATCH] general router (empty) --- api/advent22_api/routers/__init__.py | 3 ++- api/advent22_api/routers/general.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 api/advent22_api/routers/general.py diff --git a/api/advent22_api/routers/__init__.py b/api/advent22_api/routers/__init__.py index bbc5af5..53178bd 100644 --- a/api/advent22_api/routers/__init__.py +++ b/api/advent22_api/routers/__init__.py @@ -1,8 +1,9 @@ from fastapi import APIRouter -from . import abspacken, days +from . import abspacken, days, general router = APIRouter(prefix="/api") router.include_router(abspacken.router) router.include_router(days.router) +router.include_router(general.router) diff --git a/api/advent22_api/routers/general.py b/api/advent22_api/routers/general.py new file mode 100644 index 0000000..05dcbbb --- /dev/null +++ b/api/advent22_api/routers/general.py @@ -0,0 +1,3 @@ +from fastapi import APIRouter + +router = APIRouter(prefix="/general", tags=["general"])