Commit 8b483807 authored by Julien Schröter's avatar Julien Schröter Committed by Frederik Wegner

Add explanation to question object in OAS

parent 71d58deb
Pipeline #1764 passed with stage
in 13 minutes and 39 seconds
......@@ -1059,6 +1059,12 @@ components:
type: string
answer:
$ref: '#/components/schemas/answer'
explanation:
description: Object with hint about why specific answers are (in)correct.
type: object
properties:
text:
type: string
roundinfo:
description: >-
......@@ -1092,12 +1098,7 @@ components:
description: The questions that will be played in this round.
type: array
items:
type: object
required:
- question
properties:
question:
$ref: '#/components/schemas/question'
$ref: '#/components/schemas/question'
useranswer:
description: Object containing attributes that may change when answering a question.
type: object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment