From 84a145a37699b8d3f640f97def6355c5daa04b23 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 30 Dec 2024 18:25:20 +0000 Subject: [PATCH] Bug 37054: Add API support --- Koha/Library.pm | 1 - api/v1/swagger/definitions/library.yaml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Koha/Library.pm b/Koha/Library.pm index 361ece2a035..d8b180092d9 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -371,7 +371,6 @@ sub to_api_mapping { marcorgcode => 'marc_org_code', opacusercss => undef, opacuserjs => undef, - library_color => undef }; } diff --git a/api/v1/swagger/definitions/library.yaml b/api/v1/swagger/definitions/library.yaml index 0fc79673580..ef8a4618c82 100644 --- a/api/v1/swagger/definitions/library.yaml +++ b/api/v1/swagger/definitions/library.yaml @@ -94,6 +94,11 @@ properties: - string - "null" description: geolocation of your library + library_color: + type: + - string + - "null" + description: the library color marc_org_code: type: - string -- 2.39.2