Browse Source

utoipa variant

Thomas 1 year ago
parent
commit
5bfc50c572
1 changed files with 2 additions and 2 deletions
  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,