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,