From e20f1abc5af0cfc0765bb376f1dfa4c2fadfca52 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 26 May 2021 15:02:51 +0200 Subject: [PATCH] Bug 28461: Fix orders, biblios, holds --- api/v1/swagger/paths/acquisitions_orders.json | 25 ++++--------------- api/v1/swagger/paths/biblios.json | 6 ++--- api/v1/swagger/paths/holds.json | 1 - api/v1/swagger/paths/patrons_holds.json | 1 - 4 files changed, 7 insertions(+), 26 deletions(-) diff --git a/api/v1/swagger/paths/acquisitions_orders.json b/api/v1/swagger/paths/acquisitions_orders.json index 3812f2cf667..1e72a1e0f95 100644 --- a/api/v1/swagger/paths/acquisitions_orders.json +++ b/api/v1/swagger/paths/acquisitions_orders.json @@ -3,10 +3,7 @@ "get": { "x-mojo-to": "Acquisitions::Orders#list", "operationId": "listOrders", - "tags": [ - "acquisitions", - "orders" - ], + "tags": ["orders"], "produces": [ "application/json" ], @@ -133,10 +130,7 @@ "post": { "x-mojo-to": "Acquisitions::Orders#add", "operationId": "addOrder", - "tags": [ - "acquisitions", - "orders" - ], + "tags": ["orders"], "parameters": [ { "name": "body", @@ -206,10 +200,7 @@ "get": { "x-mojo-to": "Acquisitions::Orders#get", "operationId": "getOrder", - "tags": [ - "acquisitions", - "orders" - ], + "tags": ["orders"], "parameters": [ { "$ref": "../parameters.json#/order_id_pp" @@ -280,10 +271,7 @@ "put": { "x-mojo-to": "Acquisitions::Orders#update", "operationId": "updateOrder", - "tags": [ - "acquisitions", - "orders" - ], + "tags": ["orders"], "parameters": [ { "$ref": "../parameters.json#/order_id_pp" @@ -348,10 +336,7 @@ "delete": { "x-mojo-to": "Acquisitions::Orders#delete", "operationId": "deleteOrder", - "tags": [ - "acquisitions", - "orders" - ], + "tags": ["orders"], "parameters": [ { "$ref": "../parameters.json#/order_id_pp" diff --git a/api/v1/swagger/paths/biblios.json b/api/v1/swagger/paths/biblios.json index 9781202c593..25940da8796 100644 --- a/api/v1/swagger/paths/biblios.json +++ b/api/v1/swagger/paths/biblios.json @@ -139,8 +139,7 @@ "x-mojo-to": "Biblios#get_items", "operationId": "getBiblioItems", "tags": [ - "biblios", - "items" + "biblios" ], "parameters": [ { @@ -237,8 +236,7 @@ "x-mojo-to": "Biblios#pickup_locations", "operationId": "getBiblioPickupLocations", "tags": [ - "biblios", - "pickup_locations" + "biblios" ], "parameters": [ { diff --git a/api/v1/swagger/paths/holds.json b/api/v1/swagger/paths/holds.json index b875f30fba4..79b7e22cfd2 100644 --- a/api/v1/swagger/paths/holds.json +++ b/api/v1/swagger/paths/holds.json @@ -521,7 +521,6 @@ "x-mojo-to": "Holds#update_priority", "operationId": "updateHoldPriority", "tags": [ - "biblios", "holds" ], "parameters": [ diff --git a/api/v1/swagger/paths/patrons_holds.json b/api/v1/swagger/paths/patrons_holds.json index ce2fcfa2091..1e38847955a 100644 --- a/api/v1/swagger/paths/patrons_holds.json +++ b/api/v1/swagger/paths/patrons_holds.json @@ -4,7 +4,6 @@ "x-mojo-to": "Patrons::Holds#list", "operationId": "getPatronHolds", "tags": [ - "patrons", "holds" ], "parameters": [ -- 2.20.1