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.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for openapi_markdown-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeea89b902e94e1844876b6f350fc8ac4a43bc126964ff8d949f8aef7357c65e |
|
MD5 | 999a4243aae71ddbb76f69f2114182d7 |
|
BLAKE2b-256 | d68c7ac70869b6e028ddd56b905823f1cf41ee3f7915ca4c1665171eccf314fe |