From 8e6cb69cf585733c9daa1106472d91e0411aa326 Mon Sep 17 00:00:00 2001 From: Simeon Romanov Date: Wed, 22 Nov 2023 16:36:03 +0300 Subject: [PATCH] adjust compilation flags --- backend/src/models/api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/models/api.rs b/backend/src/models/api.rs index cda597b9..0ecaace3 100644 --- a/backend/src/models/api.rs +++ b/backend/src/models/api.rs @@ -334,6 +334,7 @@ pub struct TypedMap { } // FIXME: Remove this when utoipa's bug fixed +#[cfg(all(feature = "swagger", debug_assertions))] impl< 'a, Id: IntoEnumIterator + Eq + Hash + Serialize,