Crates.io | oas3 |
lib.rs | oas3 |
version | 0.8.1 |
source | src |
created_at | 2019-08-09 15:54:26.388152 |
updated_at | 2024-06-30 12:27:33.637068 |
description | Structures and tools to parse, navigate, and validate OpenAPI v3.1 specifications |
homepage | |
repository | https://github.com/x52dev/oas3-rs |
max_upload_size | |
id | 155384 |
size | 224,755 |
Structures and tools to parse, navigate and validate OpenAPI v3.1 Spec files.
Originally based on v3 parts of the openapi
crate by softprops.
Additional features:
fn main() {
match oas3::from_path("path/to/openapi.yaml") {
Ok(spec) => println!("spec: {:?}", spec),
Err(err) => println!("error: {}", err)
}
}