openzeppelin_relayer/api/routes/
mod.rs

1//! # API Routes Module
2//!
3//! Configures HTTP routes for the relayer service API.
4//!
5//! ## Routes
6//!
7//! * `/health` - Health check endpoints
8//! * `/relayers` - Relayer management endpoints
9
10pub mod docs;
11pub mod health;
12pub mod metrics;
13pub mod plugin;
14pub mod relayer;
15
16use actix_web::web;
17pub fn configure_routes(cfg: &mut web::ServiceConfig) {
18    cfg.configure(health::init)
19        .configure(relayer::init)
20        .configure(plugin::init)
21        .configure(metrics::init);
22}