Bugzilla – Attachment 164929 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.83 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-16 12:59:17 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-16 12:59:17 UTC
Size:
1.83 KB
patch
obsolete
>From 80988b9ea143e21203ae16ffb5f2e065df65700e 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> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > 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 762bea6b163..f2cb0b59fd3 100644 >--- a/api/v1/swagger/definitions/library.yaml >+++ b/api/v1/swagger/definitions/library.yaml >@@ -120,6 +120,16 @@ properties: > - array > - "null" > description: The open and close times for a library on any given day >+ 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 dc8bdbfac00..2d6d938bf0f 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 > - library_hours > collectionFormat: csv >@@ -195,6 +197,8 @@ > items: > type: string > enum: >+ - cash_registers >+ - desks > - smtp_server > - library_hours > collectionFormat: csv >-- >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