redoc: Generate API Documentation from OpenAPI

redoc: Generate API Documentation from OpenAPI

Summary

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.

At a glance

Language
TypeScript
License
MIT
Stars
25.9k
Forks
2.4k
Added to OSRepos
March 6, 2026
Last analyzed
October 3, 2026
View on GitHub

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

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.

Project Facts

  • Language: TypeScript
  • License: MIT
  • Stars: 25.9k
  • Forks: 2.4k
  • Topics: api-documentation, documentation-generator, documentation-tool, hacktoberfest, openapi, openapi-specification, openapi3, openapi31, reactjs, redoc, swagger
  • Archived: false

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.

Source repository

Open the original repository on GitHub.

27 counted GitHub visits

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OrcaReplay: Time Travel for AI Agents, Debugging and Evaluation

OrcaReplay: Time Travel for AI Agents, Debugging and Evaluation

October 2, 2026

OrcaReplay introduces "time travel" capabilities for AI agents, allowing developers to record, replay, fork, and debug any agent run with any model. It addresses the challenges of AI agent debugging by providing byte-for-byte reproducibility, offline analysis, and the ability to compare different models from specific checkpoints. This tool, built by the OrcaRouter.ai team, enhances observability and control over complex agent behaviors.

Agent DebuggingAI AgentsLLM Agents
OpenMake LLM: Self-Hosted AI Workspace for Local and Open-Weight LLMs

OpenMake LLM: Self-Hosted AI Workspace for Local and Open-Weight LLMs

October 1, 2026

OpenMake LLM is an open-source, self-hosted AI workspace for local and open-weight LLMs. It coordinates specialized models, autonomous agents, and tools for deep research and artifact generation. This platform supports vLLM, LiteLLM, and BYOK providers, offering a robust environment for managing AI workloads.

AI AgentsAI WorkspaceSelf Hosted AI
ZenNotes: Keyboard-First Markdown Notes with Vim, Diagrams, and MCP Integration

ZenNotes: Keyboard-First Markdown Notes with Vim, Diagrams, and MCP Integration

October 1, 2026

ZenNotes is a versatile, keyboard-first Markdown notes app designed for speed and flexibility. It stores notes as plain Markdown files, offering Vim-friendly editing, diagram support, and integration with MCP tools. Available as a desktop app (Electron) and a self-hosted web app, ZenNotes provides a powerful solution for organizing your thoughts.

ElectronLocal FirstMarkdown
lat.md: A Knowledge Graph for Your Codebase, Written in Markdown

lat.md: A Knowledge Graph for Your Codebase, Written in Markdown

September 26, 2026

lat.md is an innovative tool that transforms your codebase knowledge into an interconnected graph of markdown files. It helps both AI agents and human developers quickly understand project architecture, business logic, and design decisions. By integrating directly into your project, lat.md ensures documentation remains consistent and up-to-date.

TypeScriptDocumentationKnowledge Graph
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️