flask-openapi3-swagger
Provide Swagger UI for flask-openapi3.
What it is and what it does
flask-openapi3-swagger is a plugin that adds Swagger UI to flask-openapi3 applications, transforming OpenAPI specifications into an interactive, browser-based interface for exploring and testing APIs. It sits on top of flask-openapi3 and requires that package as a runtime dependency, providing one of several optional UI templates available in the flask-openapi ecosystem.
The package is lightweight and actively maintained. It integrates directly with flask-openapi3's UI template system, allowing developers to enable Swagger documentation without writing additional code beyond a standard installation. The plugin is part of a broader suite of UI options (Redoc, RapiDoc, RapiPdf, Scalar, Elements) that can be mixed and matched depending on documentation needs.
Use it for:
- Enable interactive API documentation for REST endpoints defined in a flask-openapi3 application
- Allow API consumers to test endpoints directly from the browser without external tools
- Generate and serve auto-updated API documentation from OpenAPI schemas
- Provide a standard UI for internal or public API exploration during development
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Swagger UI integration for flask-openapi3, enabling interactive API documentation and testing directly in a web browser.
Yes, if you are already using flask-openapi3 and want Swagger UI for your API documentation. The low install friction, permissive MIT license, active maintenance, and zero known vulnerabilities make it a straightforward choice. Install it only if flask-openapi3 is already in your project; it is an optional plugin, not a standalone tool.
Install
flask-openapi3-swagger on PyPI
pip
pip install flask-openapi3-swaggeruv
uv add flask-openapi3-swaggerpoetry
poetry add flask-openapi3-swaggerInstalling flask-openapi3-swagger
Before you install
Low friction install with a single runtime dependency. Active maintenance as of 2026-08-14 with recent release activity.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.
Quickstart
pip install flask-openapi3-swagger
from flask_openapi3 import OpenAPI
app = OpenAPI(__name__)
@app.get('/hello')
def hello():
return {'message': 'Hello'}
if __name__ == '__main__':
app.run()
Requires Python 3.8 or later; flask-openapi3 must be installed and configured first.
Verify before relying
- Whether Swagger UI can be customized beyond what the base flask-openapi3 framework provides
- Performance characteristics when serving large or complex OpenAPI schemas
- Compatibility with specific versions of flask-openapi3 beyond the stated dependency
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — flask-openapi3 |
| Maintenance | actively maintained — 245 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 396,101/month — #6,974 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flask_openapi3_swagger-5.31.0-py3-none-any.whl
Tags
More Dynamic Content packages
MarkupSafe provides a text object that escapes…
permissive · top 100 on PyPI
Jinja2Jinja2 is a templating engine that renders…
permissive · top 100 on PyPI
soupsieveSoupsieve is a CSS selector library designed to…
permissive · top 100 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
MakoMako compiles Python-embedded templates into…
permissive · top 1,000 on PyPI
aiohttp-swagger3Integrates OpenAPI 3 documentation and request…
permissive · top 15,000 on PyPI
flask-openapi3Builds REST APIs on Flask with automatic…
permissive · top 15,000 on PyPI
flask-openapi3-elementsProvides the Stoplight Elements UI for…
permissive · top 15,000 on PyPI
flask-openapi3-rapidocAdds RapiDoc as an interactive OpenAPI UI…
permissive · top 15,000 on PyPI
flask-openapi3-scalarProvides Scalar UI integration for…
permissive · top 15,000 on PyPI
flask-swagger-uiAdds Swagger UI to Flask applications as a…
permissive · top 5,000 on PyPI
Flask-APIFlask-API adds browsable web interfaces and…
permissive · top 15,000 on PyPI
scalar-fastapiServes interactive, browser-based API…
permissive · top 5,000 on PyPI
swagger-ui-bundlePackages Swagger UI's static files and…
permissive · top 5,000 on PyPI
swagger-ui-pyIntegrates Swagger UI documentation into Python…
permissive · top 15,000 on PyPI