Bugzilla – Attachment 148411 Details for
Bug 33227
OpenAPI validation is failing for paths/biblios.yaml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33227: (follow-up) Improve docs
Bug-33227-follow-up-Improve-docs.patch (text/plain), 2.17 KB, created by
Martin Renvoize (ashimema)
on 2023-03-20 12:13:20 UTC
(
hide
)
Description:
Bug 33227: (follow-up) Improve docs
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-03-20 12:13:20 UTC
Size:
2.17 KB
patch
obsolete
>From 9990af0e393491ba61032d01c55889c413b1a814 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 20 Mar 2023 08:48:22 -0300 >Subject: [PATCH] Bug 33227: (follow-up) Improve docs > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > api/v1/swagger/paths/biblios.yaml | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > >diff --git a/api/v1/swagger/paths/biblios.yaml b/api/v1/swagger/paths/biblios.yaml >index 5fdf83bc07..8b7da78cb6 100644 >--- a/api/v1/swagger/paths/biblios.yaml >+++ b/api/v1/swagger/paths/biblios.yaml >@@ -6,6 +6,18 @@ > tags: > - biblios > summary: Add biblio >+ description: | >+ Add a bibliographic record to Koha. An optional `x-framework-id` >+ may be passed to specify the cataloguing framework to be used (instead >+ of the default). >+ >+ The request body is expected to contain a MARC record in the format specified in >+ the `Content-type` header you pass. Possible values for this header and the corresponding >+ record formats expected are listed below: >+ >+ * application/marcxml+xml: MARCXML >+ * application/marc-in-json: MARC-in-JSON >+ * application/marc: Raw USMARC binary data > parameters: > - $ref: "../swagger.yaml#/parameters/framework_id_header" > - $ref: "../swagger.yaml#/parameters/marc_schema_header" >@@ -204,6 +216,18 @@ > tags: > - biblios > summary: Update biblio >+ description: | >+ Updates a bibliographic record to Koha. An optional `x-framework-id` >+ may be passed, to specify the cataloguing framework to be used (instead >+ of the default). >+ >+ The request body is expected to contain a MARC record in the format specified by >+ the `Content-type` header passed. Possible values for this headers and the corresponding >+ record formats expected are listed below: >+ >+ * application/marcxml+xml: MARCXML >+ * application/marc-in-json: MARC-in-JSON >+ * application/marc: Raw USMARC binary data > parameters: > - $ref: "../swagger.yaml#/parameters/biblio_id_pp" > - $ref: "../swagger.yaml#/parameters/framework_id_header" >-- >2.39.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 33227
:
148213
|
148214
|
148268
|
148269
|
148407
|
148408
|
148410
| 148411 |
168707