postmanschemavalidation

1.0.5 • Public • Published

Welcome to JSON Schema Validation 👋

Version License: ISC

Convert your Swagger JSON file to Postman Collection, along with tests for schema validation and status checks included.

Install

npm install -g postmanschemavalidation

On-The-Go Usage 🏃🏻‍♂️🏃🏻‍♂️

 If you want to use the package on-the-go, without installing it to your local machine, follow the below steps. Make sure you have npx installed (npx is shipped by default since npm 5.2.0).

1. Run 'npx postmanschemavalidation'.

2. Follow the instructions to convert swagger json file to postman collection.
    - Give absolute path to swagger json file when prompted.
    - Once the conversion is done, find the path for postman collection in the logs.

Import the generated collection to Postman to run the tests.

Installation 💻

If you are looking at installing the package to your machine and use it locally whenever required, follow the below steps.

1. Run 'npm install -g postmanschemavalidation'.

2. Once the installation is done, run one of the following commands:
    'npx validateSchema'

3. Follow the instructions to convert swagger json file to postman collection.
    - Give absolute path to swagger json file when prompted.
    - Once the conversion is done, find the path for postman collection in the logs.

Import the generated collection to Postman to run the tests.

Author

👤 Tejaswi Desiraju


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i postmanschemavalidation

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

1.13 MB

Total Files

5

Last publish

Collaborators

  • tejaswidesiraju