@ns.doc('create_todo')
    @ns.expect(todo)
    @ns.marshal_with(todo, code=201)
    def post(self):
        return DAO.create(api.payload), 201
Create a new task
dataset/ETHPy150Open noirbizarre/flask-restplus/examples/todomvc.py/TodoList.post