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
Release history Release notifications | RSS feed
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 details)
Built Distribution
swagd-5.2.1-py3-none-any.whl
(3.2 MB
view details)
File details
Details for the file swagd-5.2.1.tar.gz
.
File metadata
- Download URL: swagd-5.2.1.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151f4dbce00abdf17585f55e05655c2720b3e5e2fc15e82464e79c85863f451a |
|
MD5 | 911d906af84b67991887400fc3d9b03c |
|
BLAKE2b-256 | e00e2141682dfa759575ea01a203a81c20bfbf8a666ef06c2dcc32ae428cd951 |
File details
Details for the file swagd-5.2.1-py3-none-any.whl
.
File metadata
- Download URL: swagd-5.2.1-py3-none-any.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870373362cb8263637923446cf37a5d5a983ce06860cc9e07ebbfae0abcd2eeb |
|
MD5 | d40dc8c7a2efb4fe8223018a36b55ce8 |
|
BLAKE2b-256 | 02e6d43263263c50512e2aec5741c622167ae91a066d0b64dc94a84e4f2780e7 |