flask-smorest (formerly known as flask-rest-api) is a REST API framework built upon Flask and marshmallow.
Input an OpenAPI spec to generate API docs that look as good as Stripe's. Request a preview of your docs on Fern.
- 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
pip install flask-smorest
Full documentation is available at http://flask-smorest.readthedocs.io/.
If you'd like to support the future of the project, please consider contributing to marshmallow's Open Collective:
MIT licensed. See the LICENSE file for more details.