OpenAPI (fka Swagger) spec renderer for Sphinx
Project description
sphinxcontrib-openapi is a Sphinx extension to generate APIs docs from OpenAPI (fka Swagger) spec. It depends on sphinxcontrib-httpdomain that provides an HTTP domain for describing RESTful HTTP APIs, so we don’t need to reinvent the wheel.
pip install sphinxcontrib-openapi
Usage
Pass sphinxcontrib-openapi to extensions list in Sphinx’s conf.py
extensions = [
...
'sphinxcontrib.openapi',
]
and feel free to use the openapi directive to render OpenAPI specs
.. openapi:: path/to/openapi.yml
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinxcontrib-openapi-0.6.0.tar.gz
(173.2 kB
view hashes)
Close
Hashes for sphinxcontrib-openapi-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5974b779104be45b56a759b2f096234d05f3db49469c7f6dc8ecdd82bfbf30a |
|
MD5 | 433d9054e18c18521f674e51a5f56078 |
|
BLAKE2b-256 | f122e0268b7dd29524d09b6783a58c1d999f1300282fc2db65cdbba562faacb8 |