fix: comfyui sdk serde
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user