1 unstable release
Uses old Rust 2015
0.1.0 | Apr 16, 2018 |
---|---|
0.0.4 |
|
0.0.3 |
|
0.0.2 |
|
0.0.1 |
|
#52 in #specs
8KB
88 lines
cargo swagger
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.
Installation
cargo-swagger
requires that you have Docker installed. See https://docs.docker.com/engine/installation/ for the Docker install instructions.
$ cargo install cargo-swagger
Dependencies
~7–12MB
~177K SLoC