Renders Swagger APIs
Project description
Creates a single HTML file from a Swagger API. Supports an arbitrary subset of the 2.0 specification.
usage
swagger-render api.yml -o index.html
You can add the --watch / -w flag to watch the Swagger file for changes and re-render automatically with pyinotify, which needs to be installed separately from PyPI.
special options
If you add x-swagger-render-group-by-tags: false into the info section of the Swagger file the methods wont be grouped by tags so that there are no duplicates listed for each tag the method has. Instead the tags are shown in every method.
license
MIT, see LICENSE
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
swagger-render-1.6.0.tar.gz
(7.1 kB
view details)
File details
Details for the file swagger-render-1.6.0.tar.gz
.
File metadata
- Download URL: swagger-render-1.6.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe63b0ef98da8618f3487de50712fdeb0d72b333f9d04f0a7379d793364b8a1 |
|
MD5 | d2d4478fd9bb5e872d242b3b1ddf27e3 |
|
BLAKE2b-256 | 572948f00c3dae681f2e03985627263cbf8b7623be150692cc316749429e7dec |