skillfed

flask-openapi3-swagger

Provide Swagger UI for flask-openapi3.

flask-openapi3-swagger v5.31.0 396.1K downloads/30d#6,974 on PyPI4
Permissive license MIT Active released

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-swagger

uv

uv add flask-openapi3-swagger

poetry

poetry add flask-openapi3-swagger

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: FlaskIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Tags

swagger ui for flaskopenapi documentation uiinteractive api docsflask api exploreropenapi swagger integrationrest api documentationapi testing interface
api-documentationswagger-uiflask-plugin

More Dynamic Content packages