# swagger_to
> Generate code based on swagger.json (v2)
## Install
```bash
cargo install swagger_to
```
## Usage

### Generate table columns for ant-design
```bash
swagger_to columns path/to/swagger.json
```
### Generate services for request data with axios
```bash
swagger_to services path/to/swagger.json
```
### Support Swagger doc url
```bash
swagger_to services "http://username:password@api.example.com/v2/api-docs?group=xxx"
```