Koha/api/v1/swagger/definitions.json
Tomas Cohen Arazi d383b49987 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>
2018-07-18 16:49:25 +00:00

26 lines
475 B
JSON

{
"account_line": {
"$ref": "definitions/account_line.json"
},
"city": {
"$ref": "definitions/city.json"
},
"error": {
"$ref": "definitions/error.json"
},
"hold": {
"$ref": "definitions/hold.json"
},
"holds": {
"$ref": "definitions/holds.json"
},
"patron": {
"$ref": "definitions/patron.json"
},
"patron_balance": {
"$ref": "definitions/patron_balance.json"
},
"vendor": {
"$ref": "definitions/vendor.json"
}
}