@@ -65,7 +65,6 @@ class Projects(Resource):
6565 @ns .doc ('list_projects' )
6666 @ns .marshal_list_with (project , code = 200 )
6767 def get (self ):
68- """List all projects"""
6968 return project_dao .get_all (), 200
7069
7170 @ns .doc ('create_project' )
@@ -74,7 +73,6 @@ def get(self):
7473 @ns .expect (project_input )
7574 @ns .marshal_with (project , code = 201 )
7675 def post (self ):
77- """Create a project"""
7876 return project_dao .create (ns .payload ), 201
7977
8078
@@ -90,7 +88,6 @@ class Project(Resource):
9088 @ns .response (422 , 'The id has an invalid format' )
9189 @ns .marshal_with (project )
9290 def get (self , id ):
93- """Retrieve a project"""
9491 return project_dao .get (id )
9592
9693 @ns .doc ('update_project' )
@@ -99,13 +96,11 @@ def get(self, id):
9996 @ns .expect (project_input )
10097 @ns .marshal_with (project )
10198 def put (self , id ):
102- """Updates a project"""
10399 return project_dao .update (id , ns .payload )
104100
105101 @ns .doc ('delete_project' )
106102 @ns .response (204 , 'Project deleted successfully' )
107103 @ns .response (422 , 'The id has an invalid format' )
108104 def delete (self , id ):
109- """Deletes a project"""
110105 project_dao .delete (id )
111106 return None , 204
0 commit comments