Skip to content

Add RESTful API / flask-rest-api#1122

Closed
lafrech wants to merge 1 commit intovinta:masterfrom
lafrech:add_flask_rest_api
Closed

Add RESTful API / flask-rest-api#1122
lafrech wants to merge 1 commit intovinta:masterfrom
lafrech:add_flask_rest_api

Conversation

@lafrech
Copy link

@lafrech lafrech commented Sep 13, 2018

Repo: https://github.com/Nobatek/flask-rest-api/
Docs: https://flask-rest-api.readthedocs.io

What is this Python project?

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

What's the difference between this Python project and similar ones?

This is a glue layer on top of great libraries from the marshmallow ecosystem:

  • marshmallow itself for serialization, deserialization and validation
  • webargs to parse request arguments
  • apispec to generate OpenAPI documentation

flask-rest-api does not develop its own serialization/deserialization logic, which means less potential errors. It relies on marshmallow, which is a reference library for those tasks. It reduces the boilerplate even more if the application uses an ORM or ODM that can generate marshmallow schemas from the database model (marshmallow-sqlalchemy, umongo or marshmallow-mongoengine,...).

The OpenAPI (Swagger) specification is automatically generated, yet customizable, and exposed with ReDoc or Swagger UI.

It includes features not found in other similar frameworks:

  • Pagination
  • ETag

flask-rest-api is Python3 only. It supports marshmallow 2 and 3.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.

@vinta vinta force-pushed the master branch 2 times, most recently from 23abd09 to 40cd98b Compare June 6, 2019 19:55
@stale
Copy link

stale bot commented Oct 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 30, 2019
@stale stale bot closed this Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant