mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-09-20 06:46:17 +08:00
parent
9b58dbc0c8
commit
8087179ea0
|
@ -243,7 +243,7 @@ impl Api {
|
||||||
#[oai(
|
#[oai(
|
||||||
path = "/auth/state/:id",
|
path = "/auth/state/:id",
|
||||||
method = "get",
|
method = "get",
|
||||||
operation_id = "getAuthState",
|
operation_id = "get_auth_state",
|
||||||
transform = "endpoint_auth"
|
transform = "endpoint_auth"
|
||||||
)]
|
)]
|
||||||
async fn api_auth_state(
|
async fn api_auth_state(
|
||||||
|
@ -262,7 +262,7 @@ impl Api {
|
||||||
#[oai(
|
#[oai(
|
||||||
path = "/auth/state/:id/approve",
|
path = "/auth/state/:id/approve",
|
||||||
method = "post",
|
method = "post",
|
||||||
operation_id = "approveAuth",
|
operation_id = "approve_auth",
|
||||||
transform = "endpoint_auth"
|
transform = "endpoint_auth"
|
||||||
)]
|
)]
|
||||||
async fn api_approve_auth(
|
async fn api_approve_auth(
|
||||||
|
@ -290,7 +290,7 @@ impl Api {
|
||||||
#[oai(
|
#[oai(
|
||||||
path = "/auth/state/:id/reject",
|
path = "/auth/state/:id/reject",
|
||||||
method = "post",
|
method = "post",
|
||||||
operation_id = "rejectAuth",
|
operation_id = "reject_auth",
|
||||||
transform = "endpoint_auth"
|
transform = "endpoint_auth"
|
||||||
)]
|
)]
|
||||||
async fn api_reject_auth(
|
async fn api_reject_auth(
|
||||||
|
|
Loading…
Reference in a new issue