//! Schema catalog route registration.
//!
//! This module keeps route registration separate from handler execution so
//! route-group composition stays thin in `routes`.
use actix_web::web;
use super::catalog_route_handlers::{schema_migrations, schema_overview, schema_tables};
use super::catalog_route_handlers_query::{schema_columns, schema_constraints};
/// Registers schema catalog endpoints.
pub(super) fn services(cfg: &mut web::ServiceConfig) {
cfg.service(schema_overview)
.service(schema_tables)
.service(schema_columns)
.service(schema_constraints)
.service(schema_migrations);
}