#![cfg(feature = "schema")]
#[test]
fn jsonschema() {
use schemars::schema_for;
use std::io::Write;
use wallust::config::PrettyConfig;
let schema = schema_for!(PrettyConfig);
let content = serde_json::to_string_pretty(&schema).unwrap();
std::fs::File::create("schema.json").unwrap()
.write_all(content.as_bytes()).unwrap();
}