support-organizer/backend/src/routes/requests/base.py

19 lines
444 B
Python
Raw Normal View History

from flask.views import MethodView
import marshmallow as ma
from app import Application
from . import routes_requests as blp
instance = Application.get_instance()
class RequestsGetAll(ma.Schema):
pass
@blp.route("/all")
class AllRequests(MethodView):
@blp.doc(summary="Returns all requests")
@blp.response(200, RequestsGetAll, description="Successful operation")
def get(self):
response = {}
return response