Bugzilla – Attachment 148413 Details for
Bug 32923
x-koha-embed must a header of collectionFormat csv
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32923: Fix licenses spec
Bug-32923-Fix-licenses-spec.patch (text/plain), 1.14 KB, created by
Pedro Amorim
on 2023-03-20 13:26:22 UTC
(
hide
)
Description:
Bug 32923: Fix licenses spec
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-03-20 13:26:22 UTC
Size:
1.14 KB
patch
obsolete
>From cb94afacb45e5054f3c9b1c7115c6540b19ea6f9 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 20 Mar 2023 13:25:19 +0000 >Subject: [PATCH] Bug 32923: Fix licenses spec > >Bug 32713 is now validating embed and brought this flaw to light. >Before this patch, listing licenses on ERM would result in a 400 bad request >--- > api/v1/swagger/paths/erm_licenses.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/api/v1/swagger/paths/erm_licenses.yaml b/api/v1/swagger/paths/erm_licenses.yaml >index 0abc7cf424..bca05a2b87 100644 >--- a/api/v1/swagger/paths/erm_licenses.yaml >+++ b/api/v1/swagger/paths/erm_licenses.yaml >@@ -51,6 +51,15 @@ > - $ref: "../swagger.yaml#/parameters/q_param" > - $ref: "../swagger.yaml#/parameters/q_body" > - $ref: "../swagger.yaml#/parameters/q_header" >+ - name: x-koha-embed >+ in: header >+ required: false >+ description: Embed list sent as a request header >+ type: array >+ items: >+ type: string >+ enum: >+ - vendor.name > responses: > 200: > description: A list of agreements' licenses >-- >2.30.2
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 32923
:
146421
|
146422
|
146425
|
146443
|
146632
|
146633
|
146748
|
146749
|
146836
|
146837
|
146838
|
146839
|
147292
|
147293
|
147294
|
147295
|
148349
| 148413 |
148507