cargo-swagger

Crates.iocargo-swagger
lib.rscargo-swagger
version0.1.0
sourcesrc
created_at2017-11-24 15:19:35.79312
updated_at2018-04-16 12:28:32.163278
descriptionA cargo subcommand to make it easy to generate Rust cratyes from swagger specs
homepagehttps://github.com/Metaswitch/cargo-swagger
repositoryhttps://github.com/Metaswitch/cargo-swagger
max_upload_size
id40393
size18,951
Benjamin Gill (bjgill)

documentation

README

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.

$ cargo install cargo-swagger
Commit count: 11

cargo fmt