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

19 lines
450 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 RequestsCreate(ma.Schema):
pass
@blp.route("/create")
class CreateRequest(MethodView):
@blp.doc(summary="Create a new request")
@blp.response(200, RequestsCreate, description="Successful operation")
def post(self):
response = {}
return response