https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42425 --- Comment #46 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211946&action=edit Bug 42425: (RM follow-up) Add checkin_id to the account line API definitions Bug 42425 added accountlines.checkin_id and the DBIC column, so Koha::Account::Line->to_api now returns checkin_id. The account_line, credit and debit swagger definitions have additionalProperties: false and did not list it, so response validation rejected every account response with "Properties not allowed: checkin_id" and the API answered 500 for GET /patrons/{patron_id}/account and POST /patrons/{patron_id}/account/credits. This made t/db_dependent/api/v1/patrons_accounts.t fail (get_balance() and add_credit() subtests, the warning and the plan). Add checkin_id as a read-only nullable integer to the three definitions. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.