]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 16:49:25 +0000 (16:49 +0000)
commitd383b49987b8e5471cb9f30ed879e1311e762b26
tree6392e32aa7d2cb63183ccd2caf13c7b250280441
parent9c7b6416c75df136de1cd45be72ee49951aedc1f
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>
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]