Skip to content
/ oas3-rs Public

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

License

Notifications You must be signed in to change notification settings

x52dev/oas3-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e758e2f · Jan 27, 2025
Jan 27, 2025
Dec 29, 2024
Jan 27, 2025
Dec 29, 2024
Oct 11, 2024
Jun 30, 2024
Oct 11, 2024
Aug 18, 2024
Jan 27, 2025
Jan 27, 2025
Oct 14, 2020
Oct 9, 2024
Jan 27, 2025
Jan 27, 2025
Oct 14, 2024
Jun 30, 2024
Aug 19, 2019

Repository files navigation

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