[Koha-bugs] [Bug 17314] Routes to create, list and delete a purchase suggestion

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 12 02:30:15 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17314

--- Comment #48 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Created attachment 109976
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109976&action=edit
Bug 17314: (QA follow-up) Adjust spec

This patch makes the exposed attribute names match what is defined in
the internal mapping in the code, and also the query parameters.

It also:
- Makes 'status' an enum, as we know the list of possible values/codes...
- Removes allow-owner and allow-guarantor, as said before, endpoints in
/public namespace are allowed to use those. I didn't go and write those
endpoints becuase I wasn't sure about the restrictions that apply in the
OPAC and might differ from the ones in the staff interface.
- Some numeric values are marked as such
- Dates are strings in OpenAPI, but there's a way to specify the format
inside the string: "format": "date". Use it

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list