Skip to main content
This library provides python Flask utilities and static assets for rendering Swagger UI.

# Example

```python
from flask import Flask, jsonify

from flask_swaggerui import render_swaggerui, build_static_blueprint

app = Flask(__name__)


@app.route('/')
def root():
return render_swaggerui(swagger_spec_path="/spec")


@app.route('/spec')
def spec():
return jsonify({"some swagger": "spec stuff"})


# Adds static assets for swagger-ui to path
app.register_blueprint(build_static_blueprint("swaggerui", __name__))

if __name__ == "__main__":
app.run(port=8080, debug=True)
```

Release files for flask-swaggerui 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-swaggerui 0.0.1
File Size Uploaded
flask-swaggerui-0.0.1.tar.gz 722.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-swaggerui 0.0.1
File Interpreter ABI Platform
flask_swaggerui-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 1.5 MB

Release files / flask-swaggerui-0.0.1.tar.gz

Download URL flask-swaggerui-0.0.1.tar.gz
Size 722.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ebaa74017a61a6099425f5f9d59a6f71ead4e8ba0a876bf50901e99323ea0087
BLAKE2b-256 checksum
How to use checksums
f4b4b6edde9d66c5bbf60ef219b9194d15b457a3c9ecdac5efaa89093e8d5468
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / flask_swaggerui-0.0.1-py2.py3-none-any.whl

Download URL flask_swaggerui-0.0.1-py2.py3-none-any.whl
Size 740.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f5478caa347389156aca782f91281dc03e4fd0f3701d0afa9cedf0c35b77f185
BLAKE2b-256 checksum
How to use checksums
3c06af72378c8c05f37c4890687956818d382a05aa9ecf764b4d4c30edd1ec56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page