oas3

Crates.iooas3
lib.rsoas3
version0.19.0
created_at2019-08-09 15:54:26.388152+00
updated_at2025-08-26 22:42:21.947539+00
descriptionStructures and tools to parse, navigate, and validate OpenAPI v3.1.xß specifications
homepage
repositoryhttps://github.com/x52dev/oas3-rs
max_upload_size
id155384
size166,320
Rob Ede (robjtede)

documentation

README

oas3

crates.io Documentation dependency status MIT or Apache 2.0 licensed
CI codecov Version Download

Structures and tools to parse, navigate and validate OpenAPI v3.1.x specifications.

Note that due to v3.1.x being a breaking change from v3.0.x, you may have trouble correctly parsing specs in the older format.

Example

let yaml = std::fs::read_to_string("path/to/openapi.yml").unwrap();

match oas3::from_yaml(yaml) {
  Ok(spec) => println!("spec: {:?}", spec),
  Err(err) => println!("error: {}", err)
}
Commit count: 357

cargo fmt