axios_swagger is a javascript lib that transform swagger schemas in to axios http requests
yarn add axios_swagger
npm install axios_swagger
| add axios_swagger.json file in root folder
{
"swaggerUrl": "http://localhost:3000/api-json",
"outputPath": "./services"
}
yarn axios_swagger
base.ts
schemas.d.ts
services.ts