Describe the Bug
The recommendations router in app/routers/recommendations.py is initialized with prefix="/recommendations".
However, in app/main.py, it is registered with prefix="/recommend".
This results in the endpoints being nested under /recommend/recommendations/... (e.g. /recommend/recommendations/faculty/students).
Expected Behavior
The prefix in the router configuration should be empty ("") so that routes are cleanly accessible under /recommend/....
Describe the Bug
The recommendations router in
app/routers/recommendations.pyis initialized withprefix="/recommendations".However, in
app/main.py, it is registered withprefix="/recommend".This results in the endpoints being nested under
/recommend/recommendations/...(e.g./recommend/recommendations/faculty/students).Expected Behavior
The prefix in the router configuration should be empty (
"") so that routes are cleanly accessible under/recommend/....