diff --git a/description.raml b/description.raml index a1771d7..3ccbc3c 100644 --- a/description.raml +++ b/description.raml @@ -100,14 +100,13 @@ types: 200: body: application/json: - example: | - {"message": "The course has successfully deleted."} + type: Courses 500: body: application/json: example: | {"message": "Failed to delete course."} - post: + put: description: Update the course with the id. body: application/json: @@ -116,8 +115,7 @@ types: 200: body: application/json: - example: | - {"message": "The course has successfully created/updated."} + type: Course 500: body: application/json: @@ -132,8 +130,7 @@ types: 200: body: application/json: - example: | - {"message": "The course has successfully created/updated."} + type: Course 500: body: application/json: