tandem-server 0.4.23

HTTP server for Tandem engine APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
use axum::routing::get;
use axum::Router;

use super::external_actions::*;
use crate::AppState;

pub(super) fn apply(router: Router<AppState>) -> Router<AppState> {
    router
        .route("/external-actions", get(list_external_actions))
        .route("/external-actions/{id}", get(get_external_action))
}