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: info:
title: Mieux Voter title: Mieux Voter
description: A poll application based on Majority Judgment (MJ). description: A poll application based on Majority Judgment (MJ).
@ -361,42 +362,42 @@ components:
format: int16 format: int16
links: links:
get-poll: get-poll:
operationRef: get-poll operationId: get-poll
parameters: parameters:
pollId: $response.body#/id pollId: $response.body#/id
description: > description: >
The `id` value returned in the response can be used as the `poll-id` The `id` value returned in the response can be used as the `poll-id`
parameter in GET /polls/{poll-id}. parameter in GET /polls/{poll-id}.
update-poll: update-poll:
operationRef: update-poll operationId: update-poll
parameters: parameters:
pollId: $response.body#/id pollId: $response.body#/id
description: > description: >
The `id` value returned in the response can be used as the `poll-id` The `id` value returned in the response can be used as the `poll-id`
parameter in PATCH /polls/{poll-id}. parameter in PATCH /polls/{poll-id}.
delete-poll: delete-poll:
operationRef: delete-poll operationId: delete-poll
parameters: parameters:
pollId: $response.body#/id pollId: $response.body#/id
description: > description: >
The `id` value returned in the response can be used as the `poll-id` The `id` value returned in the response can be used as the `poll-id`
parameter in DELETE /polls/{poll-id}. parameter in DELETE /polls/{poll-id}.
create-judgment: create-judgment:
operationRef: create-judgment operationId: create-judgment
parameters: parameters:
userId: $response.body#/id userId: $response.body#/id
description: > description: >
The `id` value returned in the response can be used as the `poll-id` The `id` value returned in the response can be used as the `poll-id`
parameter in POST /polls/{poll-id}/judgments. parameter in POST /polls/{poll-id}/judgments.
list-poll-results: list-poll-results:
operationRef: list-poll-results operationId: list-poll-results
parameters: parameters:
pollId: $response.body#/id pollId: $response.body#/id
description: > description: >
The `id` value returned in the response can be used as the `poll-id` The `id` value returned in the response can be used as the `poll-id`
parameter in GET /polls/{poll-id}/results. parameter in GET /polls/{poll-id}/results.
get-judgment: get-judgment:
operationRef: get-judgment operationId: get-judgment
parameters: parameters:
judgmentId: $response.body#/id judgmentId: $response.body#/id
description: > description: >

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

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

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

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

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

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

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

Loading…
Cancel
Save