api_gateway/lib.rs
1#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
2//! API Gateway Module
3//!
4//! Main API Gateway module — owns the HTTP server (`rest_host`) and collects
5//! typed operation specs to emit a single `OpenAPI` document.
6
7// === MODULE DEFINITION ===
8pub mod module;
9pub use module::ApiGateway;
10
11// === INTERNAL MODULES ===
12mod assets;
13mod config;
14mod cors;
15pub mod error;
16pub mod middleware;
17mod router_cache;
18mod web;
19
20// === RE-EXPORTS ===
21pub use config::{ApiGatewayConfig, CorsConfig};