Koha/api/v1/swagger/definitions
Tomas Cohen Arazi 1b9f3621df
Bug 23843: Add mapping to Koha::Acquisition::Fund
This patch adds a to_api_mapping method to the class. This in effect
enables calling ->to_api on the object. The mapping is borrowed from the
API controller. It is not removed from the controller so we are able to
verify (through the tests) that there is no behavior change.
Once this is pushed we need to implement the counter-wise methods and
clean the controllers.
To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/acquisitions_funds.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat (1)
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-23 18:03:24 +01:00
..
account_line.json Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
allows_renewal.json Bug 17003: (follow-up) Update definitions according to voted RFC 2019-07-01 16:10:15 +01:00
checkout.json Bug 17005: Add checked_in checkouts to REST API response 2019-10-08 14:33:39 +01:00
checkouts.json Bug 13895: Add API routes for checkouts retrieval and renewal 2019-03-28 19:38:41 +00:00
city.json
club_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_hold.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_hold_patron_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
club_holds.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
error.json
fund.json Bug 23843: Add mapping to Koha::Acquisition::Fund 2019-10-23 18:03:24 +01:00
hold.json Bug 9834: (QA follow-up) API Corrections 2019-06-20 17:12:12 +01:00
holds.json
item.json Bug 16825: Add API route for getting an item 2019-09-12 16:41:09 +01:00
library.json Bug 16497: (follow-up) Adapt to existing guidelines and RFC 2019-02-19 13:52:14 +00:00
patron.json Bug 20691: (QA follow-up) API-related fixes 2019-09-11 08:54:03 +01:00
patron_account_credit.json Bug 21786: (QA follow-up) library_id can be null 2019-01-08 15:50:51 +00:00
patron_balance.json
vendor.json