diff --git a/openapi/components/schemas/result.yaml b/openapi/components/schemas/result.yaml index c2b6bd3..5f7829b 100644 --- a/openapi/components/schemas/result.yaml +++ b/openapi/components/schemas/result.yaml @@ -4,7 +4,8 @@ properties: $ref: ./poll.yaml ranking: type: array - description: An array representing grades level for each proposal, + description: | + An array representing grades level for each proposal, according to the grades list, following the order of the proposals array defined when the related poll has been created. example: [0, 6, 3, 2, 2] diff --git a/openapi/paths/polls@{poll-id}@results.yaml b/openapi/paths/polls@{poll-id}@results.yaml index 1932b76..108f37a 100644 --- a/openapi/paths/polls@{poll-id}@results.yaml +++ b/openapi/paths/polls@{poll-id}@results.yaml @@ -6,7 +6,7 @@ parameters: type: string get: operationId: get-poll-results - summary: Gets results of a poll + summary: Gets the results of a poll responses: '200': description: OK