use std::collections::HashMap;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FormatInfo {
pub type_name: String,
pub spawn_format: SpawnInfo,
pub mutation_info: MutationInfo,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SpawnInfo {
pub example: serde_json::Value,
pub description: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MutationInfo {
pub fields: HashMap<String, FieldInfo>,
pub description: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FieldInfo {
pub path: String,
pub value_type: String,
pub example: serde_json::Value,
pub description: String,
}