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.4.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for openapi_markdown-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c16a27068920b2844f9171751f2e0bfd7e8133d460f71dbd5cd3a318aaca1d26 |
|
MD5 | f6bee79e768877bea74ecde68ea59319 |
|
BLAKE2b-256 | cf1114480f9b15799a292e4857c9b84f0d7018d29a3a1c627968f329573ef634 |