From 44a166c82c9f9bf3c5343a540f56bcab04799fcf Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 27 May 2021 10:06:38 -0300 Subject: [PATCH] Bug 28463: Add missing tags This patch adds entries for: - Rotas - Circulation rules - Macros Signed-off-by: Tomas Cohen Arazi --- api/v1/swagger/paths/circulation-rules.json | 3 ++- api/v1/swagger/paths/rotas.json | 1 + api/v1/swagger/swagger.yaml | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/circulation-rules.json b/api/v1/swagger/paths/circulation-rules.json index 0f118d344e..c53cdcef04 100644 --- a/api/v1/swagger/paths/circulation-rules.json +++ b/api/v1/swagger/paths/circulation-rules.json @@ -3,7 +3,8 @@ "get": { "x-mojo-to": "CirculationRules#get_kinds", "operationId": "getCirculationRuleKinds", - "tags": ["cities"], + "tags": ["circulation_rules"], + "summary": "Get circulation rules kinds", "produces": [ "application/json" ], diff --git a/api/v1/swagger/paths/rotas.json b/api/v1/swagger/paths/rotas.json index 5c5fc3b01e..cfad1726ea 100644 --- a/api/v1/swagger/paths/rotas.json +++ b/api/v1/swagger/paths/rotas.json @@ -3,6 +3,7 @@ "put": { "x-mojo-to": "Stage#move", "operationId": "moveStage", + "summary": "Update stage", "tags": ["rotas"], "parameters": [{ "name": "rota_id", diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml index b89370491d..b73682120b 100644 --- a/api/v1/swagger/swagger.yaml +++ b/api/v1/swagger/swagger.yaml @@ -43,6 +43,10 @@ tags: x-displayName: Checkouts description: | Manage checkouts + - name: "circulation_rules" + x-displayName: Circulation rules + description: | + Manage circulation rules - name: "cities" x-displayName: Cities description: | @@ -75,6 +79,10 @@ tags: x-displayName: Libraries description: | Manage libraries + - name: "macros" + x-displayName: Macros + description: | + Manage macros - name: "orders" x-displayName: Orders description: | @@ -95,6 +103,10 @@ tags: x-displayName: Return claims description: | Manage return claims + - name: "rotas" + x-displayName: Rotas + description: | + Manage rotas - name: "smtp_servers" x-displayName: SMTP servers description: | -- 2.31.1