8 unstable releases (3 breaking)
0.4.4 | Oct 25, 2023 |
---|---|
0.4.3 | May 17, 2023 |
0.3.1 | May 16, 2023 |
0.2.1 | May 4, 2023 |
0.1.0 | Apr 30, 2023 |
#169 in HTTP client
22KB
520 lines
swagger_to
Generate code based on swagger.json (v2)
Install
cargo install swagger_to
Usage
Generate table columns for ant-design
swagger_to columns path/to/swagger.json
Generate services for request data with axios
swagger_to services path/to/swagger.json
Support Swagger doc url
swagger_to services "http://username:password@api.example.com/v2/api-docs?group=xxx"
Dependencies
~10–27MB
~330K SLoC