Revert "fixed openapi operation IDs"

This reverts commit 9b58dbc0c8.
This commit is contained in:
Eugene Pankov 2022-11-08 22:32:35 +01:00
parent 9b58dbc0c8
commit 8087179ea0
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -243,7 +243,7 @@ impl Api {
#[oai(
path = "/auth/state/:id",
method = "get",
operation_id = "getAuthState",
operation_id = "get_auth_state",
transform = "endpoint_auth"
)]
async fn api_auth_state(
@ -262,7 +262,7 @@ impl Api {
#[oai(
path = "/auth/state/:id/approve",
method = "post",
operation_id = "approveAuth",
operation_id = "approve_auth",
transform = "endpoint_auth"
)]
async fn api_approve_auth(
@ -290,7 +290,7 @@ impl Api {
#[oai(
path = "/auth/state/:id/reject",
method = "post",
operation_id = "rejectAuth",
operation_id = "reject_auth",
transform = "endpoint_auth"
)]
async fn api_reject_auth(