Phase 4 of storefront restructure plan - move API routes from legacy app/api/v1/storefront/ to their respective modules: - customers: auth, profile, addresses routes combined into storefront.py - orders: order history viewing routes - checkout: order placement (place_order endpoint) - messaging: customer messaging routes Updated app/api/v1/storefront/__init__.py to import from modules: - cart_router from app.modules.cart - catalog_router from app.modules.catalog - checkout_router from app.modules.checkout - customers_router from app.modules.customers - orders_router from app.modules.orders - messaging_router from app.modules.messaging Legacy route files in app/api/v1/storefront/ can now be deleted in Phase 6. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 lines
300 B
Python
10 lines
300 B
Python
# app/modules/customers/routes/api/__init__.py
|
|
"""Customers module API routes."""
|
|
|
|
from app.modules.customers.routes.api.storefront import router as storefront_router
|
|
|
|
# Tag for OpenAPI documentation
|
|
STOREFRONT_TAG = "Customer Account (Storefront)"
|
|
|
|
__all__ = ["storefront_router", "STOREFRONT_TAG"]
|