Build a REST API with Flask


Keywords
REST, openapi, swagger, flask, marshmallow, apispecwebargs, apispec, python, python3, rest-api, webargs
License
MIT
Install
pip install flask-rest-api==0.17.1

Documentation

flask-smorest

Latest version Python versions marshmallow 3 only OpenAPI Specification 2/3 compatible License Build status Code coverage Documentation

'cause everybody wants s'more

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

  • 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.