Files
stoatchat/crates/delta/src/routes/webhooks/mod.rs
2022-11-26 23:07:22 +00:00

17 lines
338 B
Rust

use rocket::Route;
use rocket_okapi::okapi::openapi3::OpenApi;
mod webhook_delete;
mod webhook_edit;
mod webhook_execute;
mod webhook_fetch;
pub fn routes() -> (Vec<Route>, OpenApi) {
openapi_get_routes_spec![
webhook_delete::req,
webhook_edit::req,
webhook_execute::req,
webhook_fetch::req,
]
}