Skip to main content

Converter from Swagger to Markdown.

Project description

Swagger 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 swagger2markdown

Usage

usage: swagger2markdown [-h] [-i] [-o] [-t]

optional arguments:
  -h, --help        show this help message and exit
  -i , --input      path to or URL of the Swagger JSON file (default: swagger.json)
  -o , --output     path to the output Markdown file (default: swagger.md)
  -t , --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

swagger2markdown-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swagger2markdown-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5533817f25d213f22508d96d70dbcabb14cb5bf11d1e6d7701bb506ec6fde345
MD5 3d195ccfc5dd895c390c19ce6c5f64c6
BLAKE2b-256 21fa8fda1283ffce1c5c892cb6e35af77ddf305de9b3d6f8c8a31890fef346d3

See more details on using hashes here.

Supported by

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