oas3

Crates.iooas3
lib.rsoas3
version0.8.1
sourcesrc
created_at2019-08-09 15:54:26.388152
updated_at2024-06-30 12:27:33.637068
descriptionStructures and tools to parse, navigate, and validate OpenAPI v3.1 specifications
homepage
repositoryhttps://github.com/x52dev/oas3-rs
max_upload_size
id155384
size224,755
Rob Ede (robjtede)

documentation

README

OAS3

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:

  • Validation constructors
  • Example request/response validation
  • Live API conformance testing

Usage

fn main() {
  match oas3::from_path("path/to/openapi.yaml") {
    Ok(spec) => println!("spec: {:?}", spec),
    Err(err) => println!("error: {}", err)
  }
}
Commit count: 108

cargo fmt