Closed sachin-suresh-rapyuta closed 2 years ago
I have installed openapi extension using:
pip install sphinxcontrib-redoc.
pip install sphinxcontrib-redoc
In one of my .rst file, I have:
.. openapi:: specs/openapi.yaml.
.. openapi:: specs/openapi.yaml
When I make html, build fails with:
make html
ERROR: Unknown directive type "openapi". .. openapi:: specs/openapi.yaml
My Python version:
$ python3 --version Python 3.8.10 $ pip list sphinxcontrib-openapi 0.7.0
UPDATE:
I also uninstalled sphinxcontrib-redoc and installed using pip3. When I build I get no errors. But I don't get the APIs rendered in my HTML.
I am using openapi: 3.1.0.
openapi: 3.1.0
I have installed openapi extension using:
pip install sphinxcontrib-redoc
.In one of my .rst file, I have:
.. openapi:: specs/openapi.yaml
.When I
make html
, build fails with:My Python version:
UPDATE:
I also uninstalled sphinxcontrib-redoc and installed using pip3. When I build I get no errors. But I don't get the APIs rendered in my HTML.
I am using
openapi: 3.1.0
.