This tool converts Postman collections (or environments) to Stoplight collections (or environments)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
collectionConverter.html
environmentsConverter.html
postman2stoplight.js

README.md

Postman to Stoplight Converters

These tools convert :

  • Postman collections to Stoplight collections. Try it online here
  • Multiple Postman environments to a Stoplight environment file. Try it online here.

Requirements

  • The input Postman collection MUST be at 2.1 format

Usage

  • Simply open the Collection converter or the Environments converter
  • Pick your Postman collection file from your disk. For environments, you can pick multiple files.
  • Click the convert button
  • Copy/paste the result into Stoplight "</>Code" tab of your TESTING section or in the ".stoplight" file for the environment.

Features

  • Converts all requests in steps
  • Manages Postman folders and sub-folders
  • Replaces {{myVar}} by {$$.env.myVar}
  • Try to detect usual assertions (experimental)

Limitations

  • Doesn't detect captures
  • Doesn't use Stoplight $.ctx

Disclaimer

  • Shitty web design
  • By far, not the best Javascript code you could see...

Support

No support, thanks :-)