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( #[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(