links fix: replace operationRef by operationId

pull/13/head
Nathanaël Jourdane 4 years ago committed by guhur
parent b1c1cee734
commit d60fcf2571

@ -1,4 +1,5 @@
# This file has been automatically generated. All manual modifications may be lost. See README.md for details.
# Warning: this file has been automatically generated. All manual modifications will be lost, see README.md for details.
openapi: 3.0.0
info:
title: Mieux Voter
description: A poll application based on Majority Judgment (MJ).
@ -361,42 +362,42 @@ components:
format: int16
links:
get-poll:
operationRef: get-poll
operationId: get-poll
parameters:
pollId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id`
parameter in GET /polls/{poll-id}.
update-poll:
operationRef: update-poll
operationId: update-poll
parameters:
pollId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id`
parameter in PATCH /polls/{poll-id}.
delete-poll:
operationRef: delete-poll
operationId: delete-poll
parameters:
pollId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id`
parameter in DELETE /polls/{poll-id}.
create-judgment:
operationRef: create-judgment
operationId: create-judgment
parameters:
userId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id`
parameter in POST /polls/{poll-id}/judgments.
list-poll-results:
operationRef: list-poll-results
operationId: list-poll-results
parameters:
pollId: $response.body#/id
description: >
The `id` value returned in the response can be used as the `poll-id`
parameter in GET /polls/{poll-id}/results.
get-judgment:
operationRef: get-judgment
operationId: get-judgment
parameters:
judgmentId: $response.body#/id
description: >

@ -1,4 +1,4 @@
operationRef: 'add-judge-to-poll'
operationId: 'add-judge-to-poll'
parameters:
userId: $response.body#/id
description: >

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

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

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

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

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

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

Loading…
Cancel
Save