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

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages