|
|
@@ -1005,7 +1005,7 @@ pub struct Variant {
|
|
|
pub annotations: Vec<AnnotationType>,
|
|
|
}
|
|
|
|
|
|
-#[derive(Debug, PartialEq, Serialize, Deserialize, Clone)]
|
|
|
+#[derive(Debug, PartialEq, Serialize, Deserialize, Clone, ToSchema)]
|
|
|
pub struct CallerData {
|
|
|
pub qual: Option<f32>,
|
|
|
pub format: Format,
|
|
|
@@ -1061,7 +1061,7 @@ impl CallerData {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#[derive(Debug, Clone, Serialize, Eq, PartialEq, Deserialize)]
|
|
|
+#[derive(Debug, Clone, Serialize, Eq, PartialEq, Deserialize, ToSchema)]
|
|
|
pub enum VariantType {
|
|
|
Somatic,
|
|
|
Constitutionnal,
|
|
|
@@ -1356,7 +1356,7 @@ pub enum VariantCategory {
|
|
|
LowDiversity,
|
|
|
}
|
|
|
|
|
|
-#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]
|
|
|
+#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq, ToSchema)]
|
|
|
pub enum ReferenceAlternative {
|
|
|
Nucleotide(Base),
|
|
|
Nucleotides(Vec<Base>),
|