// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct WorkflowDiagnosisResponse {
    /// Whether the graph has no error-severity issues or blocking structural warnings that make it non-runnable
    pub is_valid: bool,
    /// Structured diagnosis issues
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub issues: Option<Vec<WorkflowDiagnosisIssue>>,
    /// Optional remediation suggestions
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub suggestions: Option<Vec<String>>,
    /// Workflow graph statistics
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub stats: Option<WorkflowDiagnosisStats>,
}
