axios_swagger

1.1.3 • Public • Published

Axios Swagger

SwaggerAxios is a javascript lib that transform swagger schemas in to axios http requests

Get Started

  yarn add axios_swagger
  npm install axios_swagger

Config

| add axios_swagger.json file in root folder

{
    "swaggerUrl": "http://localhost:3000/api-json",
    "outputPath": "./services"
}

Run

yarn axios_swagger

GeneratedFiles

base.ts
schemas.d.ts
services.ts

Package Sidebar

Install

npm i axios_swagger

Weekly Downloads

0

Version

1.1.3

License

none

Unpacked Size

8.51 kB

Total Files

6

Last publish

Collaborators

  • italoscript