swagger-gen-api-caller
v1.0.12
Published
Generate api calls according to swagger
Downloads
3
Readme
SwaggerGenApiCaller
Generate front-end api call methods based on swagger documentation
Remark
Currently, this tool is only used to generate typescript backend api calls, and does not support the generation of other languages.
Use
At present, the tool is mainly used with Cike.Framekwork framework development front-end site, if you need to support other functions, please pull the code to modify
- Installation tool
npm install -g swagger-gen-api-caller
- Generate api calls
swagger-gen-api-caller -su http://localhost:5248/swagger/v1/swagger.json -o ./src/services