From 8865304612be9ffb1d6ec8336b9bfb0f5c61307a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20Jourdane?= Date: Wed, 27 May 2020 21:51:20 +0200 Subject: [PATCH] rename vote/judge verbs to participate --- mv-openapi.yaml | 4 ++-- openapi/components/schemas/judge.yaml | 4 ++-- openapi/components/schemas/poll.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mv-openapi.yaml b/mv-openapi.yaml index 6fbe20a..ad5a25d 100644 --- a/mv-openapi.yaml +++ b/mv-openapi.yaml @@ -316,9 +316,9 @@ components: description: A unique identifier example: JtRm05yjMAuFCI2uwnFp readOnly: true - has-voted: + has-participed: type: boolean - description: 'True if the judge already voted on the poll, False otherwise' + description: 'True if the judge already participed to the poll, False otherwise' example: true poll-id: type: string diff --git a/openapi/components/schemas/judge.yaml b/openapi/components/schemas/judge.yaml index 04dfd20..428bb6f 100644 --- a/openapi/components/schemas/judge.yaml +++ b/openapi/components/schemas/judge.yaml @@ -5,9 +5,9 @@ properties: description: A unique identifier example: JtRm05yjMAuFCI2uwnFp readOnly: true - has-voted: + has-participed: type: boolean - description: True if the judge already voted on the poll, False otherwise + description: True if the judge already participed to the poll, False otherwise example: true poll-id: type: string diff --git a/openapi/components/schemas/poll.yaml b/openapi/components/schemas/poll.yaml index e3f83cf..0e7e02a 100644 --- a/openapi/components/schemas/poll.yaml +++ b/openapi/components/schemas/poll.yaml @@ -11,14 +11,14 @@ properties: description: 'The title of the poll' candidates: type: array - description: The candidates being judged in a poll. + description: The candidates being voted in a poll. minItems: 2 maxItems: 20 items: $ref: ./candidate.yaml grades: type: array - description: The grades on which one judges a candidate. + description: The grades on which one vote to a candidate. minItems: 2 maxItems: 10 items: