15 releases (breaking)
0.12.1 | Oct 11, 2024 |
---|---|
0.11.0 | Oct 7, 2024 |
0.8.1 | Jun 30, 2024 |
0.4.0 | Nov 7, 2023 |
0.0.1 | Aug 9, 2019 |
#266 in Parser implementations
2,314 downloads per month
Used in 7 crates
105KB
1.5K
SLoC
oas3
Structures and tools to parse, navigate and validate OpenAPI v3.1 specifications.
Note that due to v3.1 being a breaking change from v3.0, you may have trouble correctly parsing specs in the older format.
Example
match oas3::from_path("path/to/openapi.yml") {
Ok(spec) => println!("spec: {:?}", spec),
Err(err) => println!("error: {}", err)
}
Dependencies
~6.5–9MB
~181K SLoC