Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 285 Bytes

api.rst

File metadata and controls

17 lines (10 loc) · 285 Bytes

Api

.. currentmodule:: flask_rest_jsonapi

You can provide global decorators as tuple to the Api.

Example:

from flask_rest_jsonapi import Api
from your_project.security import login_required

api = Api(decorators=(login_required,))