2.0.1 • Published 4 years ago

swagger-postman-schemavalidation v2.0.1

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

Create postman collection with schema validation and status check using swagger json file

Install

npm install swagger-postman-schemavalidation

Usage

1. Run 'npm install'.
	
2. Once it is done, go to /node_modules/swagger-postman-schemavalidation.
	> cd /node_modules/swagger-postman-schemavalidation

3. Run 'node server.js'
	> node server.js

4. 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.

5. Import the generated collection to Postman.
    - Tests for schema validation can be found in ‘Tests’ tab for individual APIs.
    - Status check test case can be found in the collection tests.

API responses will be validated against schema every time you use them.

Author

👤 Tejaswi Desiraju

Show your support

Give a ⭐️ if this project helped you!


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

2.0.1

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

2.0.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago