]> git.koha-community.org Git - koha.git/commit
Bug 35368: Add public to "Add a new checkout" in API documentation
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 12 Jan 2024 23:51:14 +0000 (23:51 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 16:18:09 +0000 (17:18 +0100)
commit76832cbe356b9e894b080d923096a3b94eee4a81
treead9bc2c6ee80b3201d382a2d78d16a17a8a0804c
parent82fa40b61859cb6573160435db1ddb6750499621
Bug 35368: Add public to "Add a new checkout" in API documentation

Without this patch the "Add a new checkout" label showed
up twice in the Checkouts section of the API documentation.
This adds (public) to the end of one, to make it possible
to distinguish them.

To test (ON YOUR HOST MACHINE):
1. Run:
   $ cd api/v1/swagger
   $ docker run --rm -v $(pwd):/api --workdir /api redocly/cli \
           build-docs swagger.yaml --output index.html
2. Open the generated index.html in your browser
3. Verify doubled up headings
4. Apply patch
5. Re-run docker command form 1.
6. Verify there are now 2 different labels and "(public)" is on the
   right one.

Note: if you have wrong permissions on the file, chown it to your
own user to open it in the browser.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit dbc67ce351e00f71a55586c095895aafab067d72)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/paths/public_patrons.yaml