Skip to content

Commit

Permalink
fix(exams): forward course shortcode when booking an exam
Browse files Browse the repository at this point in the history
  • Loading branch information
lpezzolla committed Dec 19, 2023
1 parent d752ca9 commit cee3311
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1363,12 +1363,15 @@ paths:
schema:
type: integer
requestBody:
description: 'Only needed if the exam you are booking includes a question'
content:
application/json:
schema:
type: object
properties:
courseShortcode:
type: string
description: The course shortcode
example: 01UDROV
questionId:
type: integer
description: The id of the question
Expand All @@ -1381,8 +1384,8 @@ paths:
type: string
description: The reason for the exam booking request
example: "I'm not sure"
example: { }
required: false
required: [ courseShortcode ]
required: true
responses:
200:
description: Success
Expand Down

0 comments on commit cee3311

Please sign in to comment.