0.7.2 • Published 2 years ago

@neuralegion/oas2har v0.7.2

Weekly downloads
14
License
MIT
Repository
github
Last release
2 years ago

oas2har

THIS REPO HAS BEEN DEPRECATED. THE DEVELOPMENT HAS MOVED TO A NEW REPOSITORY: https://github.com/NeuraLegion/har-sdk

Transform you Swagger OAI spec files to a series of HAR request objects.

Setup

npm i --save @neuralegion/oas2har

Usage

Using as a ES module:

import { oasToHarList } from '@neuralegion/oas2har';
import swaggerJSON from 'your-swagger-api.json'; // e.g. http://petstore.swagger.io/v2/swagger.json

oasToHarList(swaggerJSON)
  .then((har) => {
    console.log(har);
  });

Testing

npm run test
0.7.2

2 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.3

4 years ago

0.0.0

4 years ago

0.5.2

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago