summaryrefslogtreecommitdiff
path: root/src/weather_thresholds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/weather_thresholds.rs')
-rw-r--r--src/weather_thresholds.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/weather_thresholds.rs b/src/weather_thresholds.rs
index ed95f13..a105bbc 100644
--- a/src/weather_thresholds.rs
+++ b/src/weather_thresholds.rs
@@ -1,7 +1,8 @@
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
+use utoipa::ToSchema;
-#[derive(Debug, Serialize, Deserialize, FromRow, Clone, PartialEq)]
+#[derive(Debug, Serialize, Deserialize, FromRow, Clone, PartialEq, ToSchema)]
pub struct WeatherThreshold {
pub id: i64,
pub user_id: i64,