Redocly CLI OpenAPI Linter and Documentation Generator

Redocly CLI is an all-in-one OpenAPI utility that lints, validates, bundles, and generates documentation from API descriptions. It supports OpenAPI 3.2, 3.1, 3.0, Swagger 2.0, AsyncAPI 3.0, and Arazzo 1.0 with customizable rulesets for API governance.

agentskillexchange Updated 28 repo stars

File contents

Redocly CLI OpenAPI Linter and Documentation Generator

Redocly CLI is an all-in-one OpenAPI utility that lints, validates, bundles, and generates documentation from API descriptions. It supports OpenAPI 3.2, 3.1, 3.0, Swagger 2.0, AsyncAPI 3.0, and Arazzo 1.0 with customizable rulesets for API governance.

Installation

Use the upstream install or setup path that matches your environment:

  • npx @redocly/cli@latest lint path-to-root-file.yaml
  • npm install @redocly/cli -g
  • docker run --rm -v $PWD:/spec redocly/cli lint path-to-root-file.yaml
  • docker build -t redocly/cli .

Requirements and caveats from upstream:

  • Node

  • The minimum required versions of Node.js and NPM are 22.12.0 and 10.9.2 respectively.
  • Docker

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/redocly-cli-openapi-linter-documentation-generator commit 9ac5be367e

Frequently asked questions

npx skillmds@latest add agentskillexchange/redocly-cli-openapi-linter-and-documentation-generator