diff --git a/openapi/components/schemas/candidate.yaml b/openapi/components/schemas/candidate.yaml index 7fbba1f..90842af 100644 --- a/openapi/components/schemas/candidate.yaml +++ b/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. diff --git a/openapi/components/schemas/grade.yaml b/openapi/components/schemas/grade.yaml index f1b0194..da55977 100644 --- a/openapi/components/schemas/grade.yaml +++ b/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 diff --git a/openapi/components/schemas/judgment.yaml b/openapi/components/schemas/judgment.yaml index 3e8716a..2c73a19 100644 --- a/openapi/components/schemas/judgment.yaml +++ b/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