Browse Source

Fix links description

pull/13/head
Nathanaël Jourdane 3 years ago
committed by guhur
parent
commit
d02508957c
  1. 2
      openapi/components/links/add-judge-to-poll.yaml
  2. 2
      openapi/components/links/create-judgment.yaml
  3. 2
      openapi/components/links/delete-judgment.yaml
  4. 2
      openapi/components/links/get-judgment.yaml
  5. 2
      openapi/components/links/list-poll-results.yaml

2
openapi/components/links/add-judge-to-poll.yaml

@ -3,4 +3,4 @@ parameters:
userId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id` parameter
in GET /invites/{poll-id}.
in POST /polls/{poll-id}/judges.

2
openapi/components/links/create-judgment.yaml

@ -3,4 +3,4 @@ parameters:
userId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id` parameter
in GET /judgments/{poll-id}.
in POST /polls/{poll-id}/judgments.

2
openapi/components/links/delete-judgment.yaml

@ -3,4 +3,4 @@ parameters:
judgmentId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `judgment-id`
parameter in DELETE /judgments/{judgment-id}.
parameter in DELETE /polls/{poll-id}/judgments/{judgment-id}.

2
openapi/components/links/get-judgment.yaml

@ -3,4 +3,4 @@ parameters:
judgmentId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `judgment-id`
parameter in GET /judgments/{judgment-id}.
parameter in GET /polls/{poll-id}/judgments/{judgment-id}.

2
openapi/components/links/list-poll-results.yaml

@ -3,4 +3,4 @@ parameters:
pollId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id` parameter
in GET /results/{result-id}.
in GET /polls/{poll-id}/results.
Loading…
Cancel
Save