Bug 30854: (QA follow-up) Spec fixes

This patch fixes minor spec QA issues:

* Missing summary for routes
* Missing error_code description for 500

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2022-05-26 10:42:29 -03:00
parent 15f8d8f42b
commit 3b431117e4
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 10 additions and 2 deletions

View File

@ -3,6 +3,7 @@
put:
x-mojo-to: ImportRecordMatches#set_chosen
operationId: setChosen
summary: Set the chosen match for an import record ID
tags:
- import_batches
parameters:
@ -51,7 +52,10 @@
schema:
$ref: "../swagger.yaml#/definitions/error"
"500":
description: Internal server error
description: |
Internal server error. Possible `error_code` attribute values:
* `internal_server_error`
schema:
$ref: "../swagger.yaml#/definitions/error"
"503":
@ -64,6 +68,7 @@
delete:
x-mojo-to: ImportRecordMatches#unset_chosen
operationId: unsetChosen
summary: Unset the chosen match for an import record ID
tags:
- import_batches
parameters:
@ -95,7 +100,10 @@
schema:
$ref: "../swagger.yaml#/definitions/error"
"500":
description: Internal server error
description: |
Internal server error. Possible `error_code` attribute values:
* `internal_server_error`
schema:
$ref: "../swagger.yaml#/definitions/error"
"503":