cognee_http_server/middleware/mod.rs
1//! Tower middleware layers for the cognee HTTP server.
2//!
3//! - `cors` — CORS layer matching Python's `add_cors_middleware`.
4//! - `tracing` — per-request access-log span layer.
5//! - `validation` — custom JSON extractor that emits `ApiError::Validation`.
6
7pub mod cors;
8pub mod tracing;
9pub mod validation;