🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

api-ref-bundler-cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-ref-bundler-cli

Bundle external $ref in Json based API document into single document via CLI

0.4.0
latest
npm
Version published
Weekly downloads
85
1316.67%
Maintainers
1
Weekly downloads
 
Created
Source

api-ref-bundler-cli

npm npm npm type definitions GitHub

This package provides cli tool to resolve all external references in Json based API document and bundle into single document

Works perfectly with API specifications

  • JsonSchema
  • Swagger 2.x
  • OpenApi 3.x
  • AsyncApi 2.x

Installation

npm i -g api-ref-bundler-cli

Usage

ref-bundler <filename> [-f <output format>] [-d <dest path>] [-t <file type>]

Output formats: yaml, json

File type: oas3 (default), aas2, jsonschema

Contributing

When contributing, keep in mind that it is an objective of api-ref-bundler-cli to have no package dependencies. This may change in the future, but for now, no-dependencies.

Please run the unit tests before submitting your PR: npm test. Hopefully your PR includes additional unit tests to illustrate your change/modification!

License

MIT

Keywords

jsonschema

FAQs

Package last updated on 06 Apr 2024

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