Added simple root and swagger routes
This commit is contained in:
parent
bcfc8e6eeb
commit
6be8b0044a
5 changed files with 59 additions and 10 deletions
|
|
@ -36,6 +36,9 @@ class TaskSchema(Schema):
|
|||
|
||||
|
||||
class TaskList(Resource):
|
||||
"""
|
||||
List and basic documentation for all session tasks
|
||||
"""
|
||||
@marshal_with(TaskSchema(many=True))
|
||||
def get(self):
|
||||
return tasks.tasks()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue