From 3f6bec41bf6c501f3263cf7650071c8829ce5238 Mon Sep 17 00:00:00 2001 From: Michael T Date: Tue, 19 Apr 2022 12:57:49 +0500 Subject: [PATCH] Add endpoint to data formatting example --- doc/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/quickstart.rst b/doc/quickstart.rst index 3de3ed7f..21aa154c 100644 --- a/doc/quickstart.rst +++ b/doc/quickstart.rst @@ -304,7 +304,7 @@ you use the ``fields`` module to describe the structure of your response. # This field will not be sent in the response self.status = 'active' - @api.route('/todo') + @api.route('/todo', endpoint='todo_ep') class Todo(Resource): @api.marshal_with(model) def get(self, **kwargs):