Spaces:
Sleeping
Sleeping
Create app/api/v1/router.py
Browse files- app/api/v1/router.py +8 -0
app/api/v1/router.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from fastapi import APIRouter
|
| 2 |
+
|
| 3 |
+
from .endpoints import dictionary, suggestions, word_of_day
|
| 4 |
+
|
| 5 |
+
api_router = APIRouter()
|
| 6 |
+
api_router.include_router(dictionary.router, prefix="/dictionary", tags=["Dictionary"])
|
| 7 |
+
api_router.include_router(suggestions.router, prefix="/suggestions", tags=["Suggestions"])
|
| 8 |
+
api_router.include_router(word_of_day.router, prefix="/word-of-the-day", tags=["Word of the Day"])
|