Kaynağa Gözat

utoipa stat

Thomas 1 yıl önce
ebeveyn
işleme
fb1b5de66d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/variants.rs

+ 1 - 1
src/variants.rs

@@ -972,7 +972,7 @@ impl Variants {
     }
 }
 
-#[derive(Debug, Clone, Serialize)]
+#[derive(Debug, Clone, Serialize, ToSchema)]
 pub struct Stat {
     name: String,
     counts: HashMap<String, u32>,