backend/src/api/mod.rs
Radical d615f1392e
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
style: cargo clippy && cargo fmt
2025-05-30 21:17:30 +02:00

13 lines
241 B
Rust

//! `/api` Contains the entire API
use actix_web::Scope;
use actix_web::web;
mod v1;
mod versions;
pub fn web(path: &str) -> Scope {
web::scope(path.trim_end_matches('/'))
.service(v1::web())
.service(versions::get)
}