mod util; use schemars::JsonSchema; use util::*; #[derive(Debug, JsonSchema)] struct MyStruct { foo: i32, } #[derive(Debug, JsonSchema)] struct Container { result1: Result>, result2: Result, } #[test] fn result() -> TestResult { test_default_generated_schema::("result") }