flasgger/flasgger
Easy OpenAPI specs and Swagger UI for your Flask API observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4055
- days_rel: n/a
- days_push: 807
- n_releases_24m: 0
Adoption not part of the score
3744 stars · 525 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Flasgger is a Flask extension that extracts OpenAPI (Swagger) specifications from Flask views using docstrings, YAML files, dictionaries, or Marshmallow schemas. It embeds Swagger UI at /apidocs and can validate incoming request data against the defined schemas.
Use cases
- generate OpenAPI docs for a Flask API
- add Swagger UI to my Flask endpoints
- document Flask-RESTful resources with YAML specs
- validate POST request bodies against Marshmallow schemas
- define API specs in docstrings instead of separate files
- serve interactive API documentation from a Flask app
When to choose
- you have a Flask or Flask-RESTful API and want OpenAPI docs with minimal setup
- you want embedded Swagger UI for exploring and testing endpoints
- you prefer defining specs via docstrings, YAML, dicts, or Marshmallow schemas
- you want request validation driven by the same spec
When to avoid
- your API is not built on Flask
- you need OpenAPI 3.x-first tooling with advanced features other generators provide
- you use FastAPI or Django, which have their own spec ecosystems
- you need a framework-agnostic spec generator like apispec
Facets
plugin · maturity active
api-framework api-documentation middleware web-development apis backend documentation python flask-extension openapi swagger-ui rest-api marshmallow request-validation web-server
2 sources
- readme: https://github.com/flasgger/flasgger · fetched 2026-08-28 · e021cf178aa8
- registry_pypi: https://pypi.org/pypi/flasgger/json · fetched 2026-08-29 · 61b63dc2a8cc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| flasgger/flasgger | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="flasgger/flasgger")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem