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

@redocly/cli

Package Overview
Dependencies
Maintainers
9
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redocly/cli

Redocly CLI toolbox with rich validation and bundling features.

  • 1.0.0-beta.125
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
515K
increased by13.63%
Maintainers
9
Weekly downloads
 
Created

What is @redocly/cli?

@redocly/cli is a command-line tool for working with OpenAPI definitions. It provides a suite of tools to lint, bundle, and preview OpenAPI definitions, making it easier to maintain and document APIs.

What are @redocly/cli's main functionalities?

Linting

Linting helps ensure that your OpenAPI definitions adhere to best practices and standards. The command checks the OpenAPI file for errors and warnings.

redocly lint openapi.yaml

Bundling

Bundling combines multiple OpenAPI files into a single file. This is useful for managing large APIs with multiple components. The command takes an input file and outputs a bundled file.

redocly bundle openapi.yaml -o bundled.yaml

Previewing

Previewing allows you to see how your OpenAPI documentation will look. The command starts a local server to preview the documentation in a web browser.

redocly preview-docs openapi.yaml

Other packages similar to @redocly/cli

Keywords

FAQs

Package last updated on 06 Apr 2023

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