]> 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 13:43:02 +0000 (14:43 +0100)
commit12e8634c00453a6ee072e7988b2ffdc7a8936991
tree7ddec2fe06244a9871aa6c2d05f3277f2179457a
parent781b254ee1885cf7019ab7f635cfc91ffa3e3b3e
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]