Browse Source

links fix: replace operationRef by operationId

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

15
mv-openapi.yaml

@ -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: >

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

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

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

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

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

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

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

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

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

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

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

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

2
openapi/components/links/update-poll.yaml

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

Loading…
Cancel
Save