Bug 33641: (follow-up) Add field to api spec

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: I changed the attribute name to match our guidelines (tcohen)
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Nick Clemens 2024-11-14 20:43:52 +00:00 committed by Katrin Fischer
parent 357582ee61
commit c3628506e3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
3 changed files with 7 additions and 0 deletions

View File

@ -223,6 +223,7 @@ on the API.
sub to_api_mapping {
return {
checkin_library => 'checkin_library_id',
issue_id => 'checkout_id',
borrowernumber => 'patron_id',
itemnumber => 'item_id',

View File

@ -148,6 +148,7 @@ on the API.
sub to_api_mapping {
return {
checkin_library => 'checkin_library_id',
issue_id => 'checkout_id',
borrowernumber => 'patron_id',
itemnumber => 'item_id',

View File

@ -36,6 +36,11 @@ properties:
- "null"
format: date-time
description: Date the item was returned
checkin_library_id:
type:
- string
- "null"
description: Internal library identifier for the library at which the item was returned
last_renewed_date:
type:
- string