From f1b0812dbe905944332ca216ed580df92256d406 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 17 Aug 2021 16:40:42 -0300 Subject: [PATCH] Bug 24857: (QA follow-up) Further spec fixes Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/biblios_volumes.json | 44 ++++++++++++----------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/api/v1/swagger/paths/biblios_volumes.json b/api/v1/swagger/paths/biblios_volumes.json index 57c71396c8..f547f30bcf 100644 --- a/api/v1/swagger/paths/biblios_volumes.json +++ b/api/v1/swagger/paths/biblios_volumes.json @@ -3,9 +3,8 @@ "get": { "x-mojo-to": "Biblios::Volumes#list", "operationId": "listVolumes", - "tags": [ - "volumes" - ], + "tags": [ "volumes" ], + "summary": "List volumes", "parameters": [ { "name": "biblio_id", @@ -25,6 +24,15 @@ }, { "$ref": "../parameters.json#/per_page" + }, + { + "$ref": "../parameters.json#/q_param" + }, + { + "$ref": "../parameters.json#/q_body" + }, + { + "$ref": "../parameters.json#/q_header" } ], "consumes": [ @@ -80,9 +88,8 @@ "post": { "x-mojo-to": "Biblios::Volumes#add", "operationId": "addVolume", - "tags": [ - "volumes" - ], + "tags": [ "volumes" ], + "summary": "Add volume", "parameters": [ { "name": "biblio_id", @@ -178,9 +185,8 @@ "get": { "x-mojo-to": "Biblios::Volumes#get", "operationId": "getVolume", - "tags": [ - "volumes" - ], + "tags": [ "volumes" ], + "summary": "Get volume", "parameters": [ { "name": "biblio_id", @@ -247,9 +253,8 @@ "put": { "x-mojo-to": "Biblios::Volumes#update", "operationId": "updateVolume", - "tags": [ - "volumes" - ], + "tags": [ "volumes" ], + "summary": "Update volume", "parameters": [ { "name": "biblio_id", @@ -347,9 +352,8 @@ "delete": { "x-mojo-to": "Biblios::Volumes#delete", "operationId": "deleteVolume", - "tags": [ - "volumes" - ], + "tags": ["volumes"], + "summary": "Delete volume", "parameters": [ { "name": "biblio_id", @@ -418,9 +422,8 @@ "post": { "x-mojo-to": "Biblios::Volumes::Items#add", "operationId": "addVolumeItem", - "tags": [ - "volumes" - ], + "tags": [ "volumes" ], + "summary": "Add item to volume", "parameters": [ { "name": "biblio_id", @@ -513,9 +516,8 @@ "delete": { "x-mojo-to": "Biblios::Volumes::Items#delete", "operationId": "deleteVolumeItems", - "tags": [ - "volumes" - ], + "tags": ["volumes"], + "summary": "Delete item from volume", "parameters": [ { "name": "biblio_id", -- 2.30.2