Skip to main content

Swagger UI Server

Project description

swagd

Swagger UI Server for debugging purpose.

Install

pip install swagd

Usage

Go to the directory containing openapi files. Run swagd to start the Swagger UI server:

swagd 8090

The port number is optional. See the python module http.server for supported arguments.

usage: swagd [-h] [-b ADDRESS] [-d DIRECTORY] [-p VERSION] [port]

positional arguments:
  port                  bind to this port (default: 8000)

options:
  -h, --help            show this help message and exit
  -b ADDRESS, --bind ADDRESS
                        bind to this address (default: all interfaces)
  -d DIRECTORY, --directory DIRECTORY
                        serve this directory (default: current directory)
  -p VERSION, --protocol VERSION
                        conform to this HTTP version (default: HTTP/1.0)

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

swagd-5.2.1.tar.gz (3.1 MB view hashes)

Uploaded Source

Built Distribution

swagd-5.2.1-py3-none-any.whl (3.2 MB view hashes)

Uploaded Python 3

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