https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23285
Tomás Cohen Arazi <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #11 from Tomás Cohen Arazi <[email protected]> --- (In reply to Fridolin Somers from comment #10) > I've been discussing this in mailing list koha-devel (REST API : PUT for > partial update). > > So we do need a PATCH route. > It would be very useful to update for example the expiration date. > > Is there a way to set required fields outside > api/v1/swagger/definitions/patron.yaml so that is can be used in both > PATCH,PUT and POST routes ? The way to do it, implies loosing reusability of the object definitions, which I don't think is a big deal anyway. We would just need to be observant on any attribute changes so they are applied both in patron.yaml and (say) patron_patch.yaml. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
