Skip to content

Commit 8e6cb69

Browse files
committed
adjust compilation flags
1 parent 5d1011d commit 8e6cb69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/models/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ pub struct TypedMap<Id: IntoEnumIterator + Eq + Hash, Value: PartialSchema> {
334334
}
335335

336336
// FIXME: Remove this when utoipa's bug fixed
337+
#[cfg(all(feature = "swagger", debug_assertions))]
337338
impl<
338339
'a,
339340
Id: IntoEnumIterator + Eq + Hash + Serialize,

0 commit comments

Comments
 (0)