args-api 0.1.0

Shared API contract types and endpoint definitions for args.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::endpoint::Endpoint;

pub struct DeleteRunner;

impl Endpoint for DeleteRunner {
    const PATH: &'static str = "/ci/runner/{owner}/{name}";
    const METHOD: http::Method = http::Method::DELETE;

    type Request = DeleteRunnerRequest;
    type Response = DeleteRunnerResponse;
}

pub type DeleteRunnerRequest = ();
pub type DeleteRunnerResponse = ();