This tool adds a cargo swagger
subcommand to make it simple to generate Rust crates from Swagger/OpenAPI specs.
Uses https://github.com/swagger-api/swagger-codegen for the codegen, but wraps it so it's easier for Rust usage.
cargo-swagger
requires that you have Docker installed. See https://docs.docker.com/engine/installation/ for the Docker install instructions.
$ cargo install cargo-swagger