Awesome
open api
Rust crate for serializing and deserializing open api documents
install
add the following to your Cargo.toml
file
[dependencies]
openapi = "0.1"
usage
extern crate openapi;
fn main() {
match openapi::from_path("path/to/openapi.yaml") {
Ok(spec) => println!("spec: {:?}", spec),
Err(err) => println!("error: {}", err)
}
}
Doug Tangren (softprops) 2017