This Rust crate allows you to generate Rust types from JSON Schemas.
It attaches serde_json attributes to the structs for json serialization/deserialization.
```rust use jsonschemacodegenerator::generate; use std::path::Path;
fn main() { let rustcode = generate(&Path::new("schemas/draft-04.json")); println!("{}", rustcode); } ```
anyOf
and allOf
definitions to a single type