Updated API description to better match API implementation
This commit is contained in:
parent
b52e71746e
commit
d0bf3eae0f
1 changed files with 4 additions and 7 deletions
|
@ -100,14 +100,13 @@ types:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
example: |
|
type: Courses
|
||||||
{"message": "The course has successfully deleted."}
|
|
||||||
500:
|
500:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
example: |
|
example: |
|
||||||
{"message": "Failed to delete course."}
|
{"message": "Failed to delete course."}
|
||||||
post:
|
put:
|
||||||
description: Update the course with the id.
|
description: Update the course with the id.
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
|
@ -116,8 +115,7 @@ types:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
example: |
|
type: Course
|
||||||
{"message": "The course has successfully created/updated."}
|
|
||||||
500:
|
500:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
|
@ -132,8 +130,7 @@ types:
|
||||||
200:
|
200:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
example: |
|
type: Course
|
||||||
{"message": "The course has successfully created/updated."}
|
|
||||||
500:
|
500:
|
||||||
body:
|
body:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
Reference in a new issue