Crates.io | cargo-swagger |
lib.rs | cargo-swagger |
version | 0.1.0 |
source | src |
created_at | 2017-11-24 15:19:35.79312 |
updated_at | 2018-04-16 12:28:32.163278 |
description | A cargo subcommand to make it easy to generate Rust cratyes from swagger specs |
homepage | https://github.com/Metaswitch/cargo-swagger |
repository | https://github.com/Metaswitch/cargo-swagger |
max_upload_size | |
id | 40393 |
size | 18,951 |
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