Browse Source

utoipa variant

Thomas 1 năm trước cách đây
mục cha
commit
5bfc50c572
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/annotations/vep.rs

+ 2 - 2
src/annotations/vep.rs

@@ -78,7 +78,7 @@ impl VEP {
     }
 }
 
-#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ToSchema)]
 pub struct VEPExtra {
     pub impact: Option<VEPImpact>,
     pub symbol: Option<String>,
@@ -139,7 +139,7 @@ impl FromStr for VEPExtra {
     }
 }
 
-#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ToSchema)]
 pub enum VEPImpact {
     Low,
     Moderate,