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

#167 in HTTP client

Download history 4/week @ 2024-07-01 3/week @ 2024-07-22 5/week @ 2024-09-23 48/week @ 2024-09-30

53 downloads per month

MIT license

22KB
520 lines

swagger_to

Generate code based on swagger.json (v2)

Install

cargo install swagger_to

Usage

image

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–23MB
~330K SLoC