fix: comfyui sdk serde
This commit is contained in:
parent
eb81f106dd
commit
d61e2e8f4c
|
|
@ -129,14 +129,14 @@ pub enum VariableSyntax {
|
|||
}
|
||||
|
||||
/// Template validation result
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct ValidationResult {
|
||||
pub valid: bool,
|
||||
pub errors: Vec<ValidationError>,
|
||||
}
|
||||
|
||||
/// Validation error
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct ValidationError {
|
||||
pub path: String,
|
||||
pub message: String,
|
||||
|
|
|
|||
Loading…
Reference in New Issue