mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
10 lines
205 B
Rust
10 lines
205 B
Rust
use rocket::Route;
|
|
use rocket_okapi::okapi::openapi3::OpenApi;
|
|
|
|
mod subscribe;
|
|
mod unsubscribe;
|
|
|
|
pub fn routes() -> (Vec<Route>, OpenApi) {
|
|
openapi_get_routes_spec![subscribe::req, unsubscribe::req]
|
|
}
|