Updated API description to better match API implementation

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-06-19 13:29:56 +02:00
parent b52e71746e
commit d0bf3eae0f
1 changed files with 4 additions and 7 deletions

View File

@ -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: