cargo swagger

This tool adds a cargo swagger subcommand to make it simple to generate Rust crates from Swagger/OpenAPI specs.

crates.io

Uses https://github.com/swagger-api/swagger-codegen for the codegen, but wraps it so it's easier for Rust usage.

Installation

cargo-swagger requires that you have Docker installed. See https://docs.docker.com/engine/installation/ for the Docker install instructions.

sh $ cargo install cargo-swagger