Redocly

redoc: Generate API Documentation from OpenAPI

Redoc turns OpenAPI definitions into responsive, navigable API reference pages. It suits API teams that want to publish documentation as a static HTML file or integrate a reference into a web application.

View on GitHub Compare
Stars
25.9k
Forks
2.4k
Stars, last 30 days
+45

Our take

Health score

49/100

How it is scored
Activity
47
Community
65
Issues
37
Pull requests
47

+45 stars in the last 30 days

  • More contributors than 78% of the projects we track
  • Slower to close issues than 89% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

26,025

Forks

2,409

Change since Nov 22, 2026: +1 stars·0 forks

Overview

Redoc generates API reference documentation from OpenAPI definitions, helping API teams present endpoints, schemas, and examples in a navigable format instead of maintaining reference pages by hand. It supports OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0.

The project is a fit when you want to render your own API specification as a static page or embed documentation in a web application. Its open source community edition is focused on rendering; some capabilities, such as a try-it console, are listed as features of Redocly's hosted offering instead.

Key Features

  • Responsive three-panel layout with search, navigation, documentation, and request and response examples.
  • Synchronizes the navigation menu with page scrolling.
  • Supports OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0.
  • Supports API introductions and grouped navigation using the x-tagGroups extension.
  • Displays code samples through a vendor extension.
  • Can be used through the CLI, an HTML element, or a React component.
  • Provides configuration options and supports specification extensions for logos, badges, examples, and other display details.

Use Cases

  • API teams can generate a browsable reference from an OpenAPI definition and publish it as a static HTML file.
  • Developers can embed API documentation in an existing website using the HTML element or React integration.
  • Organizations maintaining multiple API specifications can use consistent navigation and rendering without writing each reference page from scratch.
  • Documentation maintainers can use specification extensions to organize endpoints and show custom examples or labels.

Getting Started

Build a static documentation page from an OpenAPI file with Redocly CLI:

npx @redocly/cli build-docs openapi.yaml

For HTML, React, and deployment options, see the README and Redoc documentation.

Considerations

  • Redoc renders an API specification; you need an OpenAPI or Swagger definition to document.
  • The README lists specification support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0. Check the documentation for details on supported features and configuration.
  • The CLI build command uses Node through npx; other integration methods have their own setup requirements.
  • The README distinguishes the open source community edition from hosted Redocly, and lists features such as a try-it console and automated code samples under the hosted offering.

Found this useful?

Share it with someone who would like redoc.