Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

syncman

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syncman

CLI tool that syncs OAS files to Postman and generates Postman collections based on them

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

Syncman

A CLI tool that syncs an OAS file to Postman and generates a Postman collection from it

Installation

In your terminal run:

npm i -g syncman

Usage

Make sure you have the following env variables set up:

  • POSTMAN_API_KEY - you can get it from here: https://your-postman-subdomain.postman.co/settings/me/api-keys
  • POSTMAN_WORKSPACE_ID - your Postman Workspace id

You can do it by exporting them in your terminal:

export POSTMAN_API_KEY=<your key>
export POSTMAN_WORKSPACE_ID=<your postman workspace id>

Then run:

syncman --location <oas-file-location> --apiname "<api name>" --versionname "<version name>"

versionname is optional, and if not provided will be equal to Latest

Local Development

To test it locally, run:

npm run sync -- --apiname "My Lovely Api" --location oas-test.yaml --versionname V1

Keywords

FAQs

Package last updated on 25 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc