1.0.5 ā€¢ Published 4 years ago

postmanschemavalidation v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago