Skip to content

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

License

Notifications You must be signed in to change notification settings

GiGainfosystems/oas3-rs

Repository files navigation

OAS3

Structures and tools to parse and navigate OpenAPI v3 Spec files.

Based on v3 parts of openapi crate by softprops.

Install

add the following to your Cargo.toml file

[dependencies]
oas3 = "*"

usage

extern crate oas3;

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 specifications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • Shell 0.1%