spec update
This commit is contained in:
parent
b75fee41c6
commit
1d60a3d925
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")`.
|
- 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.
|
- Mounted a scoped helper endpoint and a new recipes v2 router under this prefix.
|
||||||
- ✅ Recipes scoping:
|
- ✅ 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`.
|
- 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).
|
- Tests in `tests/test_recipes_household_v2.py` validate isolation across households (PASS).
|
||||||
- ✅ Meals: Added `api/meals_v2.py` with:
|
- ✅ Meals: Added `api/meals_v2.py` with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue