$npx skillfedfor your agent

sphinxcontrib-openapi

OpenAPI (fka Swagger) spec renderer for Sphinx

With conditionsPyPI DocumentationReleased Feb 2026320.3K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sphinxcontrib_openapi-0.9.0-py3-none-any.whl
v0.9.0 · released 2026-02-10 · Python >=3.10 · 7 runtime deps: sphinx, sphinxcontrib-httpdomain, PyYAML, jsonschema, sphinx-mdinclude, picobox, deepmerge

Yes, if you maintain an OpenAPI spec and use Sphinx for documentation. The package is stable, permissively licensed, and has low install friction. Maintenance is aging (185 days since last release), so verify compatibility with your Sphinx version before adopting. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with a pure Python wheel.
  • Maintenance is aging—last release 185 days ago—but the repository remains active and the package has been stable since its 2016 release.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-02-10 (185 days) · last repo commit 2026-02-10 · 126 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 320,278 downloads/mo, #7,637 on PyPI

Verify before relying

pip install sphinxcontrib-openapi

# In conf.py:
extensions = [
    'sphinxcontrib.openapi',
]

# In your .rst file:
.. openapi:: path/to/openapi.yml
  • Whether the package handles all OpenAPI 3.0+ features or has known limitations with certain spec versions.
  • Performance characteristics when rendering large or complex OpenAPI specifications.
  • Compatibility with recent Sphinx versions beyond what the classifiers indicate.
Same gist for agents: .md · .json

What it is and what it does

sphinxcontrib-openapi is a Sphinx extension that converts OpenAPI (formerly Swagger) specification files into formatted API documentation. It leverages the sphinxcontrib-httpdomain extension to provide HTTP domain support, so it integrates naturally with Sphinx's documentation build pipeline. You add it to your Sphinx conf.py extensions list and then use the openapi directive to point to your spec file—typically a YAML or JSON OpenAPI definition—and it renders the endpoints, parameters, request/response schemas, and other API details into your documentation.

The package depends on Sphinx, PyYAML for parsing specs, jsonschema for validation, and a few utility libraries (picobox, deepmerge, sphinx-mdinclude) to handle configuration and schema merging. It's designed for teams that maintain OpenAPI specs and want to keep their API documentation in sync without manual rewriting.

Use it for

  • Generate API reference documentation from an OpenAPI spec as part of your Sphinx build process.
  • Keep API docs automatically synchronized with your OpenAPI definition during development.
  • Render REST endpoint details (paths, methods, parameters, responses) into a Sphinx project.
  • Embed interactive or formatted API specifications into larger technical documentation.
  • Build a single-source documentation site where API reference comes from your spec file.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you maintain an OpenAPI spec and use Sphinx for documentation.

The package is stable, permissively licensed, and has low install friction. Maintenance is aging (185 days since last release), so verify compatibility with your Sphinx version before adopting. No known security vulnerabilities.

Install

sphinxcontrib-openapi on PyPI

Before you install

Low friction install with a pure Python wheel. Maintenance is aging—last release 185 days ago—but the repository remains active and the package has been stable since its 2016 release.

Requires Python 3.10 or later.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install sphinxcontrib-openapi

# In conf.py:
extensions = [
    'sphinxcontrib.openapi',
]

# In your .rst file:
.. openapi:: path/to/openapi.yml

Verify before relying

  • Whether the package handles all OpenAPI 3.0+ features or has known limitations with certain spec versions.
  • Performance characteristics when rendering large or complex OpenAPI specifications.
  • Compatibility with recent Sphinx versions beyond what the classifiers indicate.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
sphinxsphinxcontrib-httpdomainPyYAMLjsonschemasphinx-mdincludepicoboxdeepmerge
MaintenanceAging 185 days since the last release
Last repo commit
First released
Downloads320,278 / month, #7,637 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: ConsoleFramework :: Setuptools PluginFramework :: SphinxFramework :: Sphinx :: ExtensionIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonTopic :: DocumentationTopic :: Documentation :: Sphinx

Evidence: sphinxcontrib_openapi-0.9.0-py3-none-any.whl

Tags

Capabilities
openapi documentation generatorswagger spec to sphinx docsrest api documentation sphinxopenapi renderer sphinxgenerate api docs from openapisphinx openapi extension
Topics
api-documentationopenapisphinx-extension
PyPI keywords
sphinxopenapiswaggerrestapirendererdocs

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “swagger spec to sphinx docs”

Give your agent the search over MCP, or paste the wish link into any chat.

More Documentation packages

docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Sphinx Worth it
PyPI · Software Development · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
griffe Worth it
PyPI · Software Development · released Jun 2026

Griffe extracts the complete structure and signatures of Python programs to generate API documentation or detect breaking changes in your project's public API.

Install it if you need to programmatically inspect Python code structure, generate API docs, or enforce API stability in CI.

ISCpure Python · 3.10+
32.4Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
alabaster Worth it
PyPI · Documentation · released Jul 2024

Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.

BSD-3-Clausepure Python · 3.10+dormant
30.4Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Utilities · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo

See also sphinxcontrib-httpdomain · sphinxcontrib-images · sphinxcontrib-redoc · swagger-plugin-for-sphinx · sphinxcontrib-googleanalytics · django-rest-swagger · bravado · bidict · openapi-python-client · drf-yasg