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

#75 in HTTP client

Download history 11/week @ 2023-10-31 11/week @ 2023-11-07 1/week @ 2023-11-14 11/week @ 2023-11-21 18/week @ 2023-11-28 8/week @ 2023-12-05 8/week @ 2023-12-12 24/week @ 2023-12-26 1/week @ 2024-01-02 1/week @ 2024-01-09 16/week @ 2024-01-30 1/week @ 2024-02-06 66/week @ 2024-02-13

83 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

~9–24MB
~341K SLoC