Skip to content

DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow

License

Notifications You must be signed in to change notification settings

marshmallow-code/flask-smorest

Folders and files

NameName
Last commit message
Last commit date
Jan 8, 2025
Jan 7, 2025
Jan 7, 2025
Mar 3, 2025
Feb 28, 2024
Mar 3, 2025
May 11, 2023
Dec 29, 2023
Jan 7, 2025
Sep 28, 2021
Feb 28, 2024
Dec 3, 2024
Mar 3, 2025
Oct 24, 2024

Repository files navigation

flask-smorest

Latest version Python versions marshmallow 3 only OpenAPI Specification 2/3 compatible License Build status Code coverage pre-commit.ci status Documentation

'cause everybody wants s'more

flask-smorest (formerly known as flask-rest-api) is a REST API framework built upon Flask and marshmallow.

Features

  • Serialization, deserialization and validation using marshmallow Schema
  • Explicit validation error messages returned in response
  • Database-agnostic
  • OpenAPI (Swagger) specification automatically generated and exposed with ReDoc, Swagger UI or RapiDoc
  • Pagination
  • ETag

Install

pip install flask-smorest

Documentation

Full documentation is available at http://flask-smorest.readthedocs.io/.

Support flask-smorest

If you'd like to support the future of the project, please consider contributing to marshmallow's Open Collective:

Donate to our collective

License

MIT licensed. See the LICENSE file for more details.