]> git.koha-community.org Git - koha.git/commit
Bug 20942: OpenAPI spec for /patrons/{patron_id}/account
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jun 2018 19:04:35 +0000 (16:04 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 2 Aug 2018 17:03:36 +0000 (18:03 +0100)
commitac321e17d9e0f106eebdc809e1b790da56326949
treea57c3d5a01f79d214bc39c4f72d1a17e6ebc482b
parent6ee9d8a888fa32a737116c15e9e5e5cae2f6653d
Bug 20942: OpenAPI spec for /patrons/{patron_id}/account

This patch adds the OpenAPI spec for the following paths:
- /patrons/{patron_id}/account

It also adds object definitions for:
- balance
- account line

Account line is to be used on both /account/lines (when implemented)
and for embeding the outstanding lines in the balance endpoint
(/patrons/{patron_id}/account).

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit d383b49987b8e5471cb9f30ed879e1311e762b26)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/definitions.json
api/v1/swagger/definitions/account_line.json [new file with mode: 0644]
api/v1/swagger/definitions/patron_balance.json [new file with mode: 0644]
api/v1/swagger/paths.json
api/v1/swagger/paths/patrons_account.json [new file with mode: 0644]