[go: up one dir, main page]

schemars 0.8.19

Generate JSON Schemas from Rust code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod util;
use util::*;

#[test]
fn rust_decimal() -> TestResult {
    test_default_generated_schema::<rust_decimal::Decimal>("rust_decimal")
}

#[test]
fn bigdecimal03() -> TestResult {
    test_default_generated_schema::<bigdecimal03::BigDecimal>("bigdecimal03")
}

#[test]
fn bigdecimal04() -> TestResult {
    test_default_generated_schema::<bigdecimal04::BigDecimal>("bigdecimal04")
}