Skip to content

Commit

Permalink
Update swagger.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rotolonico committed Sep 6, 2024
1 parent 31e217b commit cd4f796
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,18 @@ components:
answerList:
type: array
items:
type: string
description: List of possible answers.
type: object
properties:
id:
type: string
description: A unique identifier for the answer.
value:
type: string
description: The answer text.
description: List of possible answers, each with a unique id and value.
correctAnswer:
type: string
description: The correct answer.
description: The correct answer id.
value:
type: integer
description: The point value of the question.
Expand Down

0 comments on commit cd4f796

Please sign in to comment.