Skip to main content

Converter from Apidoc JSON to Markdown.

Project description

Apidoc is an open specification for documenting REST APIs in JSON or YAML. Imperfect as it is, it’s de facto a standard for many API developers.

This extension lets you render your swagger.json file as a Markdown document. You can customize the output by providing your own Jinja2 template.

Installation

$ pip install apidoc2markdown

Usage

usage: apidoc2markdown-script.py [-h] [-i APIDOC_LOCATION] [-o OUTPUT]
                                [-t TEMPLATE]

optional arguments:
  -h, --help            show this help message and exit
  -i APIDOC_LOCATION, --input APIDOC_LOCATION
                        path to the directory with api_data.json
                        and api_project.json (default: .)
  -o OUTPUT, --output OUTPUT
                        path to the output Markdown file (default: swagger.md)
  -t TEMPLATE, --template TEMPLATE
                        Jinja2 template used for conversion

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

apidoc2markdown-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file apidoc2markdown-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for apidoc2markdown-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2751a623c53a3142915226ad9b01641a63a8cdd342c65e13c8ace89c31487889
MD5 99c36b947cc3d89bce71c33d8c3045cd
BLAKE2b-256 d7ab7fcf4a51183d309f00bf63cf04de113f5198043dea14a977d2215f8620da

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page