diff --git a/backend/src/services/auth.rs b/backend/src/services/auth.rs index ddcc59e6..762c1e4a 100644 --- a/backend/src/services/auth.rs +++ b/backend/src/services/auth.rs @@ -47,7 +47,7 @@ pub struct Credentials { /// 3. [`StatusCode::UNAUTHORIZED`] /// The client couldn't authorize on the host /// -#[cfg_attr(feature = "swagger", +#[cfg_attr(all(feature = "swagger", debug_assertions), utoipa::path( post, context_path = ApiV1::to_path(),