syncman
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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:

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

/syncman/

    Package Sidebar

    Install

    npm i syncman

    Weekly Downloads

    4

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    31.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • gregra81