1 2 3 4 5 6 7 8 9
use schemars::schema_for; use stackwise_core::StackwiseReport; #[test] fn report_schema_is_generatable() { let schema = schema_for!(StackwiseReport); let json = serde_json::to_value(schema).unwrap(); assert_eq!(json["title"], "StackwiseReport"); }