mod util; extern crate apistos_schemars as schemars; use schemars::JsonSchema; use util::*; #[allow(dead_code)] #[derive(JsonSchema)] struct MyStruct { unsigned: u32, nonzero_unsigned: std::num::NonZeroU32, signed: i32, nonzero_signed: std::num::NonZeroI32, } #[test] fn nonzero_ints() -> TestResult { test_default_generated_schema::("nonzero_ints") }