Browse Source

Bug 23916: Allow embedding the issuer object

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Tomas Cohen Arazi 2 years ago
committed by Jonathan Druart
parent
commit
e00d07fe79
  1. 9
      api/v1/swagger/definitions/checkout.json
  2. 10
      api/v1/swagger/paths/checkouts.json

9
api/v1/swagger/definitions/checkout.json

@ -68,6 +68,13 @@
"type": ["string", "null"],
"format": "date",
"description": "Datetime of the issue note"
}
},
"issuer": {
"type": [
"object",
"null"
],
"description": "The object representing the checkout issuer"
}
}
}

10
api/v1/swagger/paths/checkouts.json

@ -43,7 +43,10 @@
"permissions": {
"circulate": "circulate_remaining_permissions"
}
}
},
"x-koha-embed": [
"issuer"
]
}
},
"/checkouts/{checkout_id}": {
@ -73,7 +76,10 @@
"permissions": {
"circulate": "circulate_remaining_permissions"
}
}
},
"x-koha-embed": [
"issuer"
]
}
},
"/checkouts/{checkout_id}/renewal": {

Loading…
Cancel
Save