Juna190825 commited on
Commit
6fccdd5
·
verified ·
1 Parent(s): 633a8b5

Create app/api/v1/router.py

Browse files
Files changed (1) hide show
  1. 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"])