Socket
Socket
Sign inDemoInstall

@solace-community/asyncapi-to-postman

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solace-community/asyncapi-to-postman

This CLI tool takes in an asyncapi file and converts it to a postman collection


Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

AsyncAPI to Postman Collections

This utility takes in an asyncAPI file as an input parameter and outputs a Postman collection. Note that the events are converted to POST requests sent to the Solace PubSub+ REST Port

How to run

There are two ways to run this utility

  1. npx @solace-community/asyncapi-to-postman -f <path_to_asyncAPI_file> [OPTIONS] OR
  2. npm install @solace-community/asyncapi-to-postman -g then execute command from anywhere in terminal via asyncapi-to-postman -f <path_to_asyncAPI_file> [OPTIONS]

Below are the following options

FlagDescriptionTypeDefault
-v, --versionOutputs the version number
-h, --hostDestination Solace PubSub+ Broker in the form of host:port<host>:<port>http://localhost:9000
-u, --userDestination Solace PubSub+ Broker username:password<username>:<password>default:default
-s, --sempDestination Solace PubSub+ Broker SEMP credentials<username>:<password>admin:admin
-o, --outputDestination Solace PubSub+ Broker SEMP credentials<username>:<password>admin:admin
--helpOutput file name<asyncAPIFileName_collections>

Development

To run this cli tool locally

  1. Clone this repo
  2. npm install
  3. node index --help

Contribution

To contribute to this CLI tool

  1. Fork this repo
  2. Update the package.json version number
  3. Make a PR

FAQs

Package last updated on 21 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