Crates.io | rweb-openapi |
lib.rs | rweb-openapi |
version | 0.7.0 |
source | src |
created_at | 2020-01-22 10:50:57.093978 |
updated_at | 2021-07-25 03:26:37.952405 |
description | Rust bindings for openapi schemas |
homepage | https://github.com/kdy1/openapi |
repository | https://github.com/kdy1/openapi |
max_upload_size | |
id | 201000 |
size | 68,956 |
Rust crate for serializing and deserializing open api documents
add the following to your Cargo.toml
file
[dependencies]
openapi = "0.1"
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