From d752ca99db88f782e00a05fd1568b6b94292db97 Mon Sep 17 00:00:00 2001 From: Luca Pezzolla Date: Wed, 6 Dec 2023 13:08:16 +0100 Subject: [PATCH] fix(surveys): add isMandatory --- openapi.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 84e5b70..bf9c92b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5021,6 +5021,9 @@ components: $ref: '#/components/schemas/SurveyTaxonomy' type: $ref: '#/components/schemas/SurveyTaxonomy' + isMandatory: + type: boolean + example: true isCompiled: type: boolean example: false @@ -5042,4 +5045,4 @@ components: example: '2022-08-31T14:00:00Z' course: $ref: '#/components/schemas/SurveyCourseRef' - required: [ id, title, subtitle, category, type, isCompiled, compileDate, url, startsAt, endsAt ] \ No newline at end of file + required: [ id, title, subtitle, category, type, isMandatory, isCompiled, compileDate, url, startsAt, endsAt ] \ No newline at end of file