Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christherama/swagger-to-postman
Converts a Swagger JSON spec to a Postman collection with request bodies
https://github.com/christherama/swagger-to-postman
nodejs postman swagger
Last synced: 9 days ago
JSON representation
Converts a Swagger JSON spec to a Postman collection with request bodies
- Host: GitHub
- URL: https://github.com/christherama/swagger-to-postman
- Owner: christherama
- Created: 2018-06-23T04:37:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T04:49:54.000Z (over 6 years ago)
- Last Synced: 2024-11-08T14:13:22.368Z (2 months ago)
- Topics: nodejs, postman, swagger
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swagger-to-Postman Converter
This nodejs app accepts a valid Swagger 2.0 JSON spec and converts it to a Postman collection for importing into Postman. In particular, it generates sample request bodies for all POST and PUT requests.## Using the Converter
1. Install packages
```
npm install
```2. Run script with options
- `-s` path/to/swagger/json
- `-p` path/to/save/postman/collection
- `--https` Use HTTPS in URL
```
node stp.js -s ~/sample-swagger.json -p ~/sample-postman.json --https
```