Skip to content

This tool converts Postman collections (or environments) to Stoplight collections (or environments)

License

Notifications You must be signed in to change notification settings

ntiss/postmanToStoplightConverter

Repository files navigation

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 :-)

About

This tool converts Postman collections (or environments) to Stoplight collections (or environments)

Resources

License

Stars

Watchers

Forks

Packages

No packages published