Skip to content

Commit

Permalink
fix(surveys): add category name
Browse files Browse the repository at this point in the history
  • Loading branch information
lpezzolla committed Dec 4, 2023
1 parent af64584 commit caa42a8
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4994,7 +4994,16 @@ components:
example: '01NYHOV'
nullable: true
required: [ id, name, shortcode ]

SurveyTaxonomy:
type: object
properties:
id:
type: string
example: 'CPD'
name:
type: string
example: 'CPD'
required: [ id, name ]
Survey:
type: object
properties:
Expand All @@ -5005,14 +5014,9 @@ components:
type: string
example: 'Survey title'
category:
type: string
example: 'CPD'
categoryName:
type: string
example: 'CPD'
$ref: '#/components/schemas/SurveyTaxonomy'
type:
type: string
example: 'Esame'
$ref: '#/components/schemas/SurveyTaxonomy'
isCompiled:
type: boolean
example: false
Expand All @@ -5034,4 +5038,4 @@ components:
example: '2022-08-31T14:00:00Z'
course:
$ref: '#/components/schemas/SurveyCourseRef'
required: [ id, title, category, categoryName, type, isCompiled, compileDate, url, startsAt, endsAt ]
required: [ id, title, category, type, isCompiled, compileDate, url, startsAt, endsAt ]

0 comments on commit caa42a8

Please sign in to comment.