Rename links files to fit operationIds

pull/13/head
Nathanaël Jourdane 4 years ago committed by guhur
parent 71ac4fe50b
commit 2d72c9afbe

@ -1,4 +1,4 @@
operationRef: 'create-poll-judgment'
operationRef: 'create-judgment'
parameters:
userId: $response.body#/id
description: >

@ -1,4 +1,4 @@
operationId: 'delete-poll-judgment'
operationId: 'delete-judgment'
parameters:
judgmentId: $response.body#/id
description: >

@ -1,4 +1,4 @@
operationRef: 'get-poll-results'
operationRef: 'list-poll-results'
parameters:
pollId: $response.body#/id
description: >

@ -31,15 +31,15 @@ post:
type: string
description: Id of the created poll.
links:
GetPollByPollId:
$ref: ../components/links/GetPollByPollId.yaml
SetPollByPollId:
$ref: ../components/links/SetPollByPollId.yaml
DelPollByPollId:
$ref: ../components/links/DelPollByPollId.yaml
JudgeByPollId:
$ref: ../components/links/JudgeByPollId.yaml
ResultsByPollId:
$ref: ../components/links/ResultsByPollId.yaml
get-poll:
$ref: ../components/links/get-poll.yaml
update-poll:
$ref: ../components/links/update-poll.yaml
delete-poll:
$ref: ../components/links/delete-poll.yaml
create-judgment:
$ref: ../components/links/create-judgment.yaml
list-poll-results:
$ref: ../components/links/list-poll-results.yaml
'400':
description: Bad Request. Expect at least 2 candidates and a title.

@ -28,7 +28,7 @@ post:
type: string
description: Id of the created judgment.
links:
GetJudgmentByJudgmentId:
$ref: ../components/links/GetJudgmentByJudgmentId.yaml
DelJudgmentByJudgmentId:
$ref: ../components/links/DelJudgmentByJudgmentId.yaml
get-judgment:
$ref: ../components/links/get-judgment.yaml
delete-judgment:
$ref: ../components/links/delete-judgment.yaml

Loading…
Cancel
Save