Rust crate for serializing and deserializing open api documents
add the following to your Cargo.toml
file
toml
[dependencies]
openapi = "0.1"
```rust 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