From 137cf66996243f8b3dc50f3002c38ee174134c14 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sat, 29 Jul 2023 21:14:39 +0000
Subject: [PATCH] [22.11.x] Bug 34387: (QA follow-up) Fix disply of 'Import
 batches'

Fixes the heading and sidebar display of the 'Import batches'
section.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 api/v1/swagger/definitions/import_batches.yaml | 5 +++++
 api/v1/swagger/swagger.yaml                    | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 api/v1/swagger/definitions/import_batches.yaml

diff --git a/api/v1/swagger/definitions/import_batches.yaml b/api/v1/swagger/definitions/import_batches.yaml
new file mode 100644
index 00000000000..9382daadee9
--- /dev/null
+++ b/api/v1/swagger/definitions/import_batches.yaml
@@ -0,0 +1,5 @@
+---
+type: array
+items:
+  $ref: "import_batches.yaml"
+additionalProperties: false
diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml
index a06bd48f097..1a745dd91b4 100644
--- a/api/v1/swagger/swagger.yaml
+++ b/api/v1/swagger/swagger.yaml
@@ -56,6 +56,8 @@ definitions:
     $ref: ./definitions/ill_status.yaml
   ill_request:
     $ref: ./definitions/ill_request.yaml
+  import_batches:
+    $ref: ./definitions/import_batches.yml
   import_batch_profile:
     $ref: ./definitions/import_batch_profile.yaml
   import_batch_profiles:
@@ -798,7 +800,7 @@ tags:
     x-displayName: ILL requests
   - description: "Manage import batches\n"
     name: import_batches
-    x-display-name: Import batches
+    x-displayName: Import batches
   - description: "Manage item groups\n"
     name: item_groups
     x-displayName: Item groups
-- 
2.39.2