Bugzilla – Attachment 164229 Details for
Bug 36482
Make it possible to embed desks and cash_registers on /libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36482: Allow embedding desks and cash_registers on libraries endpoints
Bug-36482-Allow-embedding-desks-and-cashregisters-.patch (text/plain), 1.71 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-01 21:11:24 UTC
(
hide
)
Description:
Bug 36482: Allow embedding desks and cash_registers on libraries endpoints
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-04-01 21:11:24 UTC
Size:
1.71 KB
patch
obsolete
>From 5ef95b12360c14b98e2d2270900b744d1f239dc0 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 1 Apr 2024 18:08:13 -0300 >Subject: [PATCH] Bug 36482: Allow embedding desks and cash_registers on > libraries endpoints > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/definitions/library.yaml | 10 ++++++++++ > api/v1/swagger/paths/libraries.yaml | 4 ++++ > 2 files changed, 14 insertions(+) > >diff --git a/api/v1/swagger/definitions/library.yaml b/api/v1/swagger/definitions/library.yaml >index de010c50d30..cdcd33a86d4 100644 >--- a/api/v1/swagger/definitions/library.yaml >+++ b/api/v1/swagger/definitions/library.yaml >@@ -115,6 +115,16 @@ properties: > needs_override: > type: boolean > description: If the library needs an override to act as pickup location for a hold >+ cash_registers: >+ type: >+ - array >+ - "null" >+ description: The library's defined cash registers (x-koha-embed) >+ desks: >+ type: >+ - array >+ - "null" >+ description: The library's defined desks (x-koha-embed) > additionalProperties: false > required: > - library_id >diff --git a/api/v1/swagger/paths/libraries.yaml b/api/v1/swagger/paths/libraries.yaml >index 230ee72dcd9..30dbaa0d7c5 100644 >--- a/api/v1/swagger/paths/libraries.yaml >+++ b/api/v1/swagger/paths/libraries.yaml >@@ -102,6 +102,8 @@ > items: > type: string > enum: >+ - cash_registers >+ - desks > - smtp_server > collectionFormat: csv > produces: >@@ -194,6 +196,8 @@ > items: > type: string > enum: >+ - cash_registers >+ - desks > - smtp_server > collectionFormat: csv > produces: >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36482
:
164229
|
164230
|
164304
|
164305
|
164416
|
164417
|
164418
|
164929
|
164930
|
164931