Crates.io | apple-bloom |
lib.rs | apple-bloom |
version | 0.1.8 |
source | src |
created_at | 2022-04-30 14:06:04.540864 |
updated_at | 2023-03-12 16:04:25.366941 |
description | Rust bindings for openapi schemas |
homepage | https://github.com/hbina/apple-bloom |
repository | https://github.com/hbina/apple-bloom |
max_upload_size | |
id | 578159 |
size | 2,167,781 |
Rust crate for serializing and deserializing open api documents
Fork of softprops/openapi
add the following to your Cargo.toml
file
[dependencies]
apple_bloom = "0.1"
extern crate apple_bloom;
fn main() {
match apple_bloom::from_path("path/to/openapi.yaml") {
Ok(spec) => println!("spec: {:?}", spec),
Err(err) => println!("error: {}", err)
}
}