]> git.koha-community.org Git - koha.git/commit
Bug 29926: (QA follow-up) API design fixes
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 26 Apr 2022 12:52:21 +0000 (09:52 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 May 2022 20:33:09 +0000 (10:33 -1000)
commitb97bf747e9bfbc590bfa43abb921d8cb4b29225a
tree5b7d2ff450ef2d1fbc95a25311149866ed6f0cc6
parent60c8534b8d84772b42f8b366df57aed72fc7ffc4
Bug 29926: (QA follow-up) API design fixes

This patch makes the following changes to the spec:

* Password being the resource and expiration_date an attribute for it,
  so reorganizing things and also renaming the route.
* Be it undefined or defined, expiration date is only one and thus
  should use the PUT verb (as in overwrite).
* Minor bug 30194-related fixes.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/paths/patrons_password.yaml
api/v1/swagger/paths/patrons_password_expiration.yaml [deleted file]
api/v1/swagger/swagger.yaml
t/db_dependent/api/v1/patrons_password_expiration.t