mod util; extern crate apistos_schemars as schemars; use schemars::JsonSchema; use std::ops::{Bound, Range, RangeInclusive}; use util::*; #[allow(dead_code)] #[derive(JsonSchema)] struct MyStruct { range: Range, inclusive: RangeInclusive, bound: Bound, } #[test] fn result() -> TestResult { test_default_generated_schema::("range") }