Socket
Book a DemoInstallSign in
Socket

openapi-graph-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-graph-cli

A cli to manage analyze API projects defined by OpenAPIv3 specification.

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

OpenAPI-graph-cli

A cli to analyze your OpenAPI specifications. Yes, specifications. This means that if you have a huge project that is heavily using OpenAPI $ref to import external schemas, requestBodies, paths... then it is very difficult for you to mantain such a large project and for example, you might have some schemas that are not being used.

With this cli, you can analyze different aspects and helping you maintain your big project.

Installation

Run

npm install -g openapi-graph-cli

And then you can run the analyzer

Analyzer

Run

apig analyze [PATH [OPTIONS]]

The PATH is the common root path for all your APIs. For example, if you have a project like the social network shown here, the path could be /tests/resources/social-network or . if you are already in the folder.

Options

You can use --verbose or --debug mode

Keywords

openapi3

FAQs

Package last updated on 13 Apr 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.