1
0
Fork 0
forked from gorb/backend

docs: partially document codebase

Should make it easier for frontend to figure out what stuff actually does, more will be added as the project goes on
This commit is contained in:
Radical 2025-05-27 11:52:17 +00:00
parent 1aa38631b8
commit 16ccf94631
10 changed files with 226 additions and 18 deletions

View file

@ -1,3 +1,5 @@
//! `/api` Contains the entire API
use actix_web::Scope;
use actix_web::web;
@ -5,5 +7,5 @@ mod v1;
mod versions;
pub fn web() -> Scope {
web::scope("/api").service(v1::web()).service(versions::res)
web::scope("/api").service(v1::web()).service(versions::get)
}