Browse Source

Update identifier types

pull/13/head
Nathanaël Jourdane 2 years ago
committed by guhur
parent
commit
6aea7fa03a
  1. 3
      openapi/components/schemas/candidate.yaml
  2. 3
      openapi/components/schemas/grade.yaml
  3. 6
      openapi/components/schemas/judgment.yaml

3
openapi/components/schemas/candidate.yaml

@ -1,9 +1,10 @@
type: object
properties:
id:
type: string
type: integer
description: A unique identifier.
readOnly: true
example: 4
name:
type: string
description: Unique but short name of the candidate.

3
openapi/components/schemas/grade.yaml

@ -1,8 +1,9 @@
type: object
properties:
id:
type: string
type: integer
description: A unique identifier
example: 0
readOnly: true
name:
type: string

6
openapi/components/schemas/judgment.yaml

@ -1,9 +1,11 @@
type: object
properties:
id:
type: string
type: integer
description: A unique identifier
example: 4
readOnly: true
grade:
type: string
type: integer
description: The grade item, according to the grades array defined when creating the poll.
example: 2
Loading…
Cancel
Save