[Koha-bugs] [Bug 29595] missing Content-Type / HTTP 415 check for POST requests to /api/v1/patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 11:58:21 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29595
--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I am expecting this to be enough, but apparently the spec validation is not
working here.
diff --git a/api/v1/swagger/paths/patrons.yaml
b/api/v1/swagger/paths/patrons.yaml
index 1100a9fba96..493be03d507 100644
--- a/api/v1/swagger/paths/patrons.yaml
+++ b/api/v1/swagger/paths/patrons.yaml
@@ -6,6 +6,8 @@
tags:
- patrons
summary: List patrons
+ consumes:
+ - application/json
produces:
- application/json
parameters:
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list