updating middleware doc

This commit is contained in:
2025-11-19 21:55:34 +01:00
parent 92a2610b70
commit a18ad48721
3 changed files with 144 additions and 13 deletions

View File

@@ -72,7 +72,7 @@ ASGI middleware that wraps VendorContextManager for FastAPI integration.
Enum defining all possible request context types in the application.
::: middleware.context_middleware.RequestContext
::: middleware.context.RequestContext
options:
show_source: false
heading_level: 4
@@ -95,7 +95,7 @@ Detects the type of request (API, Admin, Vendor Dashboard, Shop) based on URL pa
- `/shop/` → Shop context
- Default → Fallback context
::: middleware.context_middleware.ContextManager
::: middleware.context.ContextManager
options:
show_source: false
heading_level: 4
@@ -105,7 +105,7 @@ Detects the type of request (API, Admin, Vendor Dashboard, Shop) based on URL pa
ASGI middleware for context detection. Must run AFTER VendorContextMiddleware.
::: middleware.context_middleware.ContextMiddleware
::: middleware.context.ContextMiddleware
options:
show_source: false
heading_level: 4
@@ -192,7 +192,7 @@ Middleware for request/response logging and performance monitoring.
**Added Headers:**
- `X-Process-Time`: Request processing duration in seconds
::: middleware.logging_middleware.LoggingMiddleware
::: middleware.logging.LoggingMiddleware
options:
show_source: false
heading_level: 4