From d02508957c61b5f0c396f99636e90ab102975f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20Jourdane?= Date: Mon, 25 May 2020 13:24:31 +0200 Subject: [PATCH] Fix links description --- openapi/components/links/add-judge-to-poll.yaml | 2 +- openapi/components/links/create-judgment.yaml | 2 +- openapi/components/links/delete-judgment.yaml | 2 +- openapi/components/links/get-judgment.yaml | 2 +- openapi/components/links/list-poll-results.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openapi/components/links/add-judge-to-poll.yaml b/openapi/components/links/add-judge-to-poll.yaml index b15498f..38ec137 100644 --- a/openapi/components/links/add-judge-to-poll.yaml +++ b/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. diff --git a/openapi/components/links/create-judgment.yaml b/openapi/components/links/create-judgment.yaml index 4d11567..f98a6b9 100644 --- a/openapi/components/links/create-judgment.yaml +++ b/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. diff --git a/openapi/components/links/delete-judgment.yaml b/openapi/components/links/delete-judgment.yaml index ef22d23..e712e4a 100644 --- a/openapi/components/links/delete-judgment.yaml +++ b/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}. diff --git a/openapi/components/links/get-judgment.yaml b/openapi/components/links/get-judgment.yaml index 8db1025..5de0bf6 100644 --- a/openapi/components/links/get-judgment.yaml +++ b/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}. diff --git a/openapi/components/links/list-poll-results.yaml b/openapi/components/links/list-poll-results.yaml index a1cfce3..53f6b63 100644 --- a/openapi/components/links/list-poll-results.yaml +++ b/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.