Generates API documentation from an OpenAPI specification file
Project description
OpenAPI Documentation Generator
This is a Python script that generates API documentation from an OpenAPI specification file.
Requirements
- Python 3.x
- json
- PyYAML
- openapi-core
- Jinja2
Development
pip install -r requirement.txt
install a project in editble mode
pip install -e ./
run tests - not unit tests
python tests/test.py
Usage
from openapi_markdown.generator import to_markdown
apiFile = "./tests/openapi.json"
outputFile = "api_doc.md"
to_markdown(apiFile, outputFile)
Deploy
python3 -m pip install --upgrade twine
./pypi.sh
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openapi_markdown-0.0.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for openapi_markdown-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4bc9a67ade82d5e871f2cbcf882c4e6fd74b7ef37a0e3f860c75422c769754a |
|
MD5 | 298ceca97d73e1c254544dc522760922 |
|
BLAKE2b-256 | 772e219d72b42a614718148622cacca4508509e8ef6088a762d6923f42df34fd |