Expand description
Tower middleware layers for the cognee HTTP server.
cors— CORS layer matching Python’sadd_cors_middleware.tracing— per-request access-log span layer.validation— custom JSON extractor that emitsApiError::Validation.
Modules§
- cors
- CORS middleware.
- tracing
- Request tracing middleware.
- validation
- Custom JSON extractor that emits
ApiError::Validationon deserialization failure instead of axum’s default 422/400.