From 1d60a3d92562a05481ae0d05f623c423618e971c Mon Sep 17 00:00:00 2001 From: jableader Date: Sat, 1 Nov 2025 16:05:06 +1100 Subject: [PATCH] spec update --- backend-spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-spec.md b/backend-spec.md index 32cbba8..8779ed0 100644 --- a/backend-spec.md +++ b/backend-spec.md @@ -226,7 +226,7 @@ Impact on existing routes (exact files to refactor): - Create a new `APIRouter` for household-scoped routes, e.g., `household_router = APIRouter(prefix="/api/v1/households/{householdSlug}")`. - Mounted a scoped helper endpoint and a new recipes v2 router under this prefix. - ✅ Recipes scoping: - - Added `api/recipes_v2.py` providing `/api/v1/households/{householdSlug}/recipes` with list/get/create. + - Added `api/recipes_v2.py` providing `/api/v1/households/{householdSlug}/recipes` with list/get/create/delete. - Added scoped repo helpers in `recipes/repository.py` and exported via `recipes/__init__.py`. - Tests in `tests/test_recipes_household_v2.py` validate isolation across households (PASS). - ✅ Meals: Added `api/meals_v2.py` with: