inital webhook support

This commit is contained in:
Zomatree
2022-11-26 23:07:22 +00:00
parent ee1c4cc2d5
commit 5cb2320760
31 changed files with 653 additions and 38 deletions

View File

@@ -0,0 +1,16 @@
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,
]
}