Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 503 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 503 Bytes

Apple Bloom

Rust crate for serializing and deserializing open api documents

Fork of softprops/openapi

Install

add the following to your Cargo.toml file

[dependencies]
apple_bloom = "0.1"

Usage

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)
  }
}